fix wallet saving
This commit is contained in:
parent
d70ad3df93
commit
93573282bf
3
electrum
3
electrum
|
@ -256,7 +256,8 @@ def run_offline_command(config, config_options):
|
||||||
func = getattr(cmd_runner, cmd.name)
|
func = getattr(cmd_runner, cmd.name)
|
||||||
result = func(*args)
|
result = func(*args)
|
||||||
# save wallet
|
# save wallet
|
||||||
wallet.storage.write()
|
if wallet:
|
||||||
|
wallet.storage.write()
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue