fix update_pasword bug
This commit is contained in:
parent
2d1607b0c8
commit
983e152ea3
1
electrum
1
electrum
@ -125,6 +125,7 @@ def run_non_RPC(config):
|
|||||||
k = keystore.from_keys(text)
|
k = keystore.from_keys(text)
|
||||||
else:
|
else:
|
||||||
sys.exit("Error: Seed or key not recognized")
|
sys.exit("Error: Seed or key not recognized")
|
||||||
|
if password:
|
||||||
k.update_password(None, password)
|
k.update_password(None, password)
|
||||||
storage.put('keystore', k.dump())
|
storage.put('keystore', k.dump())
|
||||||
storage.put('wallet_type', 'standard')
|
storage.put('wallet_type', 'standard')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user