mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 00:41:31 +00:00
fix update_pasword bug
This commit is contained in:
parent
2d1607b0c8
commit
983e152ea3
1 changed files with 2 additions and 1 deletions
3
electrum
3
electrum
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue