obelisk

Electrum server using libbitcoin as its backend
git clone https://git.parazyd.org/obelisk
Log | Files | Refs | README | LICENSE

commit 7125ed4eda0e013c80ec9c4d1314cba08e4ea892
parent 0d451870edb8fa65549513815441989a4ca53af5
Author: parazyd <parazyd@dyne.org>
Date:   Fri, 16 Apr 2021 02:53:48 +0200

Shorten debug line in zmq RequestCollection.

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

diff --git a/obelisk/zeromq.py b/obelisk/zeromq.py @@ -207,9 +207,8 @@ class RequestCollection: if response.request_id in self._requests: self._handle_response(response) else: - print( - f"DEBUG: RequestCollection unhandled response {response.command}:{response.request_id}" # pylint: disable=C0301 - ) + print("DEBUG: RequestCollection unhandled response %s:%s" % + (response.command, response.request_id)) def _handle_response(self, response): request = self._requests[response.request_id]