security fix: do not let user change seed
This commit is contained in:
parent
fa870d83b9
commit
7a73c2cb50
2
electrum
2
electrum
|
@ -450,7 +450,7 @@ if __name__ == '__main__':
|
|||
|
||||
elif cmd == 'set':
|
||||
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)
|
||||
print True
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue