return True in network dialog, because None means offline

This commit is contained in:
ThomasV 2012-11-23 19:25:35 +01:00
parent 72358fbc20
commit acbfa77af5
2 changed files with 2 additions and 3 deletions

View File

@ -221,7 +221,7 @@ if __name__ == '__main__':
if not gui.seed_dialog(): exit()
wallet.init_mpk( wallet.seed )
# generate the first addresses
# generate the first addresses, in case we are offline
wallet.synchronize()
if a == 'create':
# display seed

View File

@ -951,7 +951,7 @@ class ElectrumGui:
def network_dialog(self):
pass
return True
def show_seed(self):
@ -975,7 +975,6 @@ class ElectrumGui:
droid.vibrate()
if wallet.is_found():
wallet.update_tx_history()
wallet.fill_addressbook()
modal_dialog("recovery successful")
else: