set command: authorize by default, forbid only when dangerous
This commit is contained in:
parent
b59e20a1ad
commit
063fef86aa
2
electrum
2
electrum
|
@ -439,7 +439,7 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
elif cmd == 'set':
|
elif cmd == 'set':
|
||||||
key, value = args[1:3]
|
key, value = args[1:3]
|
||||||
if key in ['gui', 'server', 'proxy', 'fee', 'gap_limit', 'use_change']:
|
if key not in ['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…
Reference in New Issue