commit a79cda99e52f017bae3756effe5e809310548f12
parent acbfa77af5ee52d43e0c01364ce2622e6e9e7ab3
Author: ThomasV <thomasv@gitorious>
Date: Fri, 23 Nov 2012 19:31:45 +0100
return True in retore_wallet
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/electrum b/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()
diff --git a/lib/gui_android.py b/lib/gui_android.py
@@ -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