return True in network dialog, because None means offline
authorThomasV <thomasv@gitorious>
Fri, 23 Nov 2012 18:25:35 +0000 (19:25 +0100)
committerThomasV <thomasv@gitorious>
Fri, 23 Nov 2012 18:25:35 +0000 (19:25 +0100)
electrum
lib/gui_android.py

index b8e0285..471c01a 100755 (executable)
--- a/electrum
+++ b/electrum
@@ -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
index 0fecbbc..33b505d 100644 (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: