electrum

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

commit 58bd655f1d372a6d76f468595bc41b75e8fe1084
parent fb5e8068ceb64cbcebd0618b945c8f2371956896
Author: Neil Booth <kyuupichan@gmail.com>
Date:   Sat, 12 Sep 2015 12:13:42 +0900

In debug mode, show every queued request

Diffstat:
Mlib/network.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/network.py b/lib/network.py @@ -259,6 +259,8 @@ class Network(util.DaemonThread): interface = self.interface message_id = self.message_id self.message_id += 1 + if self.debug: + self.print_error(interface.host, "-->", method, params, message_id) interface.queue_request(method, params, message_id) return message_id @@ -551,8 +553,6 @@ class Network(util.DaemonThread): self.subscriptions[callback].append(sub) for method, params in messages: - if self.debug: - self.print_error("-->", request) message_id = self.queue_request(method, params) self.unanswered_requests[message_id] = method, params, callback