tdaemon: remove two unneeded member vars - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit abaf1bc6dca5971653d0d7123904c0c4b128b181 DIR parent a90c93575891e5815d5a448aab3daa5c3f919a58 HTML Author: Neil Booth <kyuupichan@gmail.com> Date: Sun, 31 Jan 2016 18:03:50 +0900 daemon: remove two unneeded member vars Diffstat: M lib/daemon.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- DIR diff --git a/lib/daemon.py b/lib/daemon.py t@@ -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')