mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-05 05:15:12 +00:00
security fix: do not let user change seed
This commit is contained in:
parent
fa870d83b9
commit
7a73c2cb50
1 changed files with 1 additions and 1 deletions
2
electrum
2
electrum
|
@ -450,7 +450,7 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
elif cmd == 'set':
|
elif cmd == 'set':
|
||||||
key, value = args[1:3]
|
key, value = args[1:3]
|
||||||
if key not in ['seed_version', 'master_public_key', 'use_encryption']:
|
if key not in ['seed', 'seed_version', 'master_public_key', 'use_encryption']:
|
||||||
wallet.config.set_key(key, value, True)
|
wallet.config.set_key(key, value, True)
|
||||||
print True
|
print True
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Reference in a new issue