electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 8a5221ed9a98fead578aa1ba54f808f6df334e54
parent 1a409a2adf1db1228b72d9b85aa7f8d57c706d35
Author: ThomasV <thomasv@electrum.org>
Date:   Wed, 11 May 2016 09:41:29 +0200

Merge pull request #1785 from twopir/patch-1

Store the daemon's network on the stdio GUI object
Diffstat:
Mgui/stdio.py | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gui/stdio.py b/gui/stdio.py @@ -14,7 +14,7 @@ class ElectrumGui: def __init__(self, config, daemon, plugins): self.config = config - network = daemon.network + self.network = daemon.network storage = WalletStorage(config.get_wallet_path()) if not storage.file_exists: print "Wallet not found. try 'electrum create'" @@ -31,10 +31,10 @@ class ElectrumGui: self.str_fee = "" self.wallet = Wallet(storage) - self.wallet.start_threads(network) + self.wallet.start_threads(self.network) self.contacts = StoreDict(self.config, 'contacts') - network.register_callback(self.on_network, ['updated', 'banner']) + self.network.register_callback(self.on_network, ['updated', 'banner']) self.commands = [_("[h] - displays this help text"), \ _("[i] - display transaction history"), \ _("[o] - enter payment order"), \