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