Browse Source

return True in retore_wallet

283
ThomasV 12 years ago
parent
commit
a79cda99e5
  1. 1
      electrum
  2. 3
      lib/gui_android.py

1
electrum

@ -222,6 +222,7 @@ if __name__ == '__main__':
wallet.init_mpk( wallet.seed ) wallet.init_mpk( wallet.seed )
# generate the first addresses, in case we are offline # generate the first addresses, in case we are offline
if s is None or a == 'create':
wallet.synchronize() wallet.synchronize()
if a == 'create': if a == 'create':
# display seed # display seed

3
lib/gui_android.py

@ -979,7 +979,8 @@ class ElectrumGui:
modal_dialog("recovery successful") modal_dialog("recovery successful")
else: else:
if not modal_question("no transactions found for this seed","do you want to keep this wallet?"): if not modal_question("no transactions found for this seed","do you want to keep this wallet?"):
return return False
wallet.save() wallet.save()
return True

Loading…
Cancel
Save