Browse Source

offline restore

283
thomasv 12 years ago
parent
commit
8fcd782ff4
  1. 3
      electrum

3
electrum

@ -246,8 +246,8 @@ if __name__ == '__main__':
wallet.init_seed( str(seed) ) wallet.init_seed( str(seed) )
wallet.save_seed() wallet.save_seed()
if not options.offline:
interface = Interface(config) interface = Interface(config)
if not options.offline:
if not interface.start(wait=True): if not interface.start(wait=True):
print_msg("Not connected, aborting.") print_msg("Not connected, aborting.")
sys.exit(1) sys.exit(1)
@ -264,6 +264,7 @@ if __name__ == '__main__':
else: else:
print_msg("Warning: Found no history for this wallet") print_msg("Warning: Found no history for this wallet")
else: else:
interface.start(wait=False)
wallet.synchronize() wallet.synchronize()
wallet.fill_addressbook() wallet.fill_addressbook()
wallet.save() wallet.save()

Loading…
Cancel
Save