From acbfa77af5ee52d43e0c01364ce2622e6e9e7ab3 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 23 Nov 2012 19:25:35 +0100 Subject: [PATCH] return True in network dialog, because None means offline --- electrum | 2 +- lib/gui_android.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/electrum b/electrum index b8e02851d..471c01a44 100755 --- 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 diff --git a/lib/gui_android.py b/lib/gui_android.py index 0fecbbc5b..33b505da4 100644 --- a/lib/gui_android.py +++ b/lib/gui_android.py @@ -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: