return True in retore_wallet
This commit is contained in:
parent
acbfa77af5
commit
a79cda99e5
3
electrum
3
electrum
|
@ -222,7 +222,8 @@ if __name__ == '__main__':
|
|||
wallet.init_mpk( wallet.seed )
|
||||
|
||||
# generate the first addresses, in case we are offline
|
||||
wallet.synchronize()
|
||||
if s is None or a == 'create':
|
||||
wallet.synchronize()
|
||||
if a == 'create':
|
||||
# display seed
|
||||
gui.show_seed()
|
||||
|
|
|
@ -979,7 +979,8 @@ class ElectrumGui:
|
|||
modal_dialog("recovery successful")
|
||||
else:
|
||||
if not modal_question("no transactions found for this seed","do you want to keep this wallet?"):
|
||||
return
|
||||
return False
|
||||
|
||||
wallet.save()
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in New Issue