commit 23868d5769343ac3f5192831ca79923db1452cf6
parent 3568c325eae1aef10d1d2f7d2b1da401951b39b4
Author: ThomasV <thomasv@electrum.org>
Date: Tue, 15 Dec 2015 10:39:25 +0100
commands that require wallet require daemon now
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum b/electrum
@@ -317,7 +317,7 @@ if __name__ == '__main__':
# run command offline
if cmd_name not in ['gui', 'daemon']:
cmd, password, wallet = init_cmdline(config)
- if not cmd.requires_network or config.get('offline'):
+ if not (cmd.requires_network or cmd.requires_wallet) or config.get('offline'):
result = run_offline_command(config, cmd, wallet, password)
print_msg(json_encode(result))
sys.exit(0)