Browse Source

lnpeer: print port in error_messages

dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
ThomasV 6 years ago
parent
commit
d9e7807fff
  1. 2
      electrum/lnbase.py

2
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:

Loading…
Cancel
Save