tfix update_pasword bug - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 983e152ea3313daf18393c3b2126c26fde69e753
DIR parent 2d1607b0c859520fd5df5ac7eddcb7bb38d40cde
HTML Author: ThomasV <thomasv@electrum.org>
Date: Mon, 17 Oct 2016 06:42:53 +0200
fix update_pasword bug
Diffstat:
M electrum | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
DIR diff --git a/electrum b/electrum
t@@ -125,7 +125,8 @@ def run_non_RPC(config):
k = keystore.from_keys(text)
else:
sys.exit("Error: Seed or key not recognized")
- k.update_password(None, password)
+ if password:
+ k.update_password(None, password)
storage.put('keystore', k.dump())
storage.put('wallet_type', 'standard')
storage.put('use_encryption', bool(password))