Browse Source

diagnostic_name: convert to str

regtest_lnd
ThomasV 7 years ago
committed by SomberNight
parent
commit
3cc50c6e6a
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/lnbase.py

2
electrum/lnbase.py

@ -310,7 +310,7 @@ class Peer(PrintError):
self.attempted_route = {}
def diagnostic_name(self):
return 'lnbase:' + self.host
return 'lnbase:' + str(self.host)
def ping_if_required(self):
if time.time() - self.ping_time > 120:

Loading…
Cancel
Save