electrum

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

commit abaf1bc6dca5971653d0d7123904c0c4b128b181
parent a90c93575891e5815d5a448aab3daa5c3f919a58
Author: Neil Booth <kyuupichan@gmail.com>
Date:   Sun, 31 Jan 2016 18:03:50 +0900

daemon: remove two unneeded member vars

Diffstat:
Mlib/daemon.py | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lib/daemon.py b/lib/daemon.py @@ -58,13 +58,12 @@ class Daemon(DaemonThread): self.network.start() self.gui = None self.wallets = {} - self.wallet = None - self.cmd_runner = Commands(self.config, self.wallet, self.network) self.server = server # Setup server + cmd_runner = Commands(self.config, None, self.network) server.timeout = 0.1 for cmdname in known_commands: - server.register_function(getattr(self.cmd_runner, cmdname), cmdname) + server.register_function(getattr(cmd_runner, cmdname), cmdname) server.register_function(self.run_cmdline, 'run_cmdline') server.register_function(self.ping, 'ping') server.register_function(self.run_daemon, 'daemon')