fix: password is not None
This commit is contained in:
@@ -628,7 +628,7 @@ class Wallet:
|
|||||||
return s
|
return s
|
||||||
|
|
||||||
def pw_decode(self, s, password):
|
def pw_decode(self, s, password):
|
||||||
if password:
|
if password is not None:
|
||||||
secret = Hash(password)
|
secret = Hash(password)
|
||||||
d = DecodeAES(secret, s)
|
d = DecodeAES(secret, s)
|
||||||
if s == self.seed:
|
if s == self.seed:
|
||||||
|
|||||||
Reference in New Issue
Block a user