fix wallet saving
This commit is contained in:
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
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user