From d9e7807fff34ec4f32480a70b8cd5f69766845d6 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 17 Jan 2019 13:10:21 +0100 Subject: [PATCH] lnpeer: print port in error_messages --- electrum/lnbase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/lnbase.py b/electrum/lnbase.py index 45c255738..d3bd69e63 100644 --- a/electrum/lnbase.py +++ b/electrum/lnbase.py @@ -241,7 +241,7 @@ class Peer(PrintError): return self.lnworker.channels_for_peer(self.peer_addr.pubkey) def diagnostic_name(self): - return 'lnbase:' + str(self.peer_addr.host) + return str(self.peer_addr.host) + ':' + str(self.peer_addr.port) def ping_if_required(self): if time.time() - self.ping_time > 120: