|
@ -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() |
|
|