commit 59825c913c31cd2fccbe8ed3b034d9aa795c35be
parent c6a46df15887736969c7a7a448c76f9a9ed0c21e
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 1 Jul 2016 17:32:13 +0200
follow up c6a46df15887736969c7a7a448c76f9a9ed0c21e
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -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