From 8fcd782ff44af8716054e646e89c637e7b4c5b86 Mon Sep 17 00:00:00 2001 From: thomasv Date: Tue, 16 Apr 2013 15:17:32 +0200 Subject: [PATCH] offline restore --- electrum | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/electrum b/electrum index e8ad324c4..9c724ee0e 100755 --- a/electrum +++ b/electrum @@ -246,8 +246,8 @@ if __name__ == '__main__': wallet.init_seed( str(seed) ) wallet.save_seed() + interface = Interface(config) if not options.offline: - interface = Interface(config) if not interface.start(wait=True): print_msg("Not connected, aborting.") sys.exit(1) @@ -264,6 +264,7 @@ if __name__ == '__main__': else: print_msg("Warning: Found no history for this wallet") else: + interface.start(wait=False) wallet.synchronize() wallet.fill_addressbook() wallet.save()