From d4cf657efdba2240637af0f876cec711891a7405 Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Wed, 24 Jan 2024 00:03:39 +0200 Subject: [PATCH] Log also nonce when processing the version message --- minode/connection.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/minode/connection.py b/minode/connection.py index 3a449ac..d59b74d 100644 --- a/minode/connection.py +++ b/minode/connection.py @@ -391,8 +391,9 @@ class ConnectionBase(threading.Thread): else: shared.nonce_pool[self.host] = version.nonce logging.info( - '%s:%s claims to be %s', - self.host_print, self.port, version.user_agent) + '%s:%s claims to be %s (%s)', + self.host_print, self.port, version.user_agent, + base64.b16encode(version.nonce)) self.send_queue.put(message.Message(b'verack', b'')) self.verack_sent = True self.remote_version = version