mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-05 05:15:12 +00:00
fix command names: setconfig, setconfig
This commit is contained in:
parent
19d104f023
commit
454f67e89d
1 changed files with 2 additions and 2 deletions
4
electrum
4
electrum
|
@ -461,11 +461,11 @@ if __name__ == '__main__':
|
|||
print_msg(eval(args[1]))
|
||||
wallet.save()
|
||||
|
||||
elif cmd == 'get':
|
||||
elif cmd == 'getconfig':
|
||||
key = args[1]
|
||||
print_msg(wallet.config.get(key))
|
||||
|
||||
elif cmd == 'set':
|
||||
elif cmd == 'setconfig':
|
||||
key, value = args[1:3]
|
||||
if key not in ['seed', 'seed_version', 'master_public_key', 'use_encryption']:
|
||||
wallet.config.set_key(key, value, True)
|
||||
|
|
Loading…
Add table
Reference in a new issue