mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 08:51:32 +00:00
lnpeer: print port in error_messages
This commit is contained in:
parent
3ccd2fedff
commit
d9e7807fff
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ class Peer(PrintError):
|
||||||
return self.lnworker.channels_for_peer(self.peer_addr.pubkey)
|
return self.lnworker.channels_for_peer(self.peer_addr.pubkey)
|
||||||
|
|
||||||
def diagnostic_name(self):
|
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):
|
def ping_if_required(self):
|
||||||
if time.time() - self.ping_time > 120:
|
if time.time() - self.ping_time > 120:
|
||||||
|
|
Loading…
Add table
Reference in a new issue