follow up c6a46df158
This commit is contained in:
parent
c6a46df158
commit
59825c913c
|
@ -1107,7 +1107,8 @@ class Abstract_Wallet(PrintError):
|
|||
tx.sign(keypairs)
|
||||
|
||||
def update_password(self, old_password, new_password):
|
||||
self.check_password(old_password)
|
||||
if old_password is not None:
|
||||
self.check_password(old_password)
|
||||
|
||||
if new_password == '':
|
||||
new_password = None
|
||||
|
|
Loading…
Reference in New Issue