tfix restore threads - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 01349f6528685ce5017cf73053082bc5649e77da DIR parent 428fbf1f63a21295cae586336412e9df93fd66e3 HTML Author: ThomasV <thomasv@gitorious> Date: Mon, 16 Sep 2013 06:14:23 +0200 fix restore threads Diffstat: M electrum | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) --- DIR diff --git a/electrum b/electrum t@@ -175,10 +175,6 @@ if __name__ == '__main__': if fee: wallet.fee = float(fee) if gap: wallet.gap_limit = int(gap) - network = Network(config) - network.start() - wallet.start_threads(network) - if cmd == 'restore': seed = raw_input("seed:") try: t@@ -192,9 +188,10 @@ if __name__ == '__main__': wallet.init_seed( str(seed) ) wallet.save_seed() wallet.create_accounts() - wallet.synchronize() - print_msg("Recovering wallet...") + network = Network(config) + network.start() + wallet.start_threads(network) wallet.update() if wallet.is_found(): print_msg("Recovery successful")