return True in network dialog, because None means offline
This commit is contained in:
2
electrum
2
electrum
@@ -221,7 +221,7 @@ if __name__ == '__main__':
|
|||||||
if not gui.seed_dialog(): exit()
|
if not gui.seed_dialog(): exit()
|
||||||
wallet.init_mpk( wallet.seed )
|
wallet.init_mpk( wallet.seed )
|
||||||
|
|
||||||
# generate the first addresses
|
# generate the first addresses, in case we are offline
|
||||||
wallet.synchronize()
|
wallet.synchronize()
|
||||||
if a == 'create':
|
if a == 'create':
|
||||||
# display seed
|
# display seed
|
||||||
|
|||||||
@@ -951,7 +951,7 @@ class ElectrumGui:
|
|||||||
|
|
||||||
|
|
||||||
def network_dialog(self):
|
def network_dialog(self):
|
||||||
pass
|
return True
|
||||||
|
|
||||||
|
|
||||||
def show_seed(self):
|
def show_seed(self):
|
||||||
@@ -975,7 +975,6 @@ class ElectrumGui:
|
|||||||
droid.vibrate()
|
droid.vibrate()
|
||||||
|
|
||||||
if wallet.is_found():
|
if wallet.is_found():
|
||||||
wallet.update_tx_history()
|
|
||||||
wallet.fill_addressbook()
|
wallet.fill_addressbook()
|
||||||
modal_dialog("recovery successful")
|
modal_dialog("recovery successful")
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user