commit d9e7807fff34ec4f32480a70b8cd5f69766845d6
parent 3ccd2fedff5b99a02c3a651b01e03af5086b4aa4
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 17 Jan 2019 13:10:21 +0100
lnpeer: print port in error_messages
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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: