This commit is contained in:
ThomasV 2016-07-01 17:32:13 +02:00
parent c6a46df158
commit 59825c913c
1 changed files with 2 additions and 1 deletions

View File

@ -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