offline restore
This commit is contained in:
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()
|
||||||
|
|
||||||
|
interface = Interface(config)
|
||||||
if not options.offline:
|
if not options.offline:
|
||||||
interface = Interface(config)
|
|
||||||
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()
|
||||||
|
|||||||
Reference in New Issue
Block a user