diagnostic_name: convert to str
This commit is contained in:
@@ -310,7 +310,7 @@ class Peer(PrintError):
|
|||||||
self.attempted_route = {}
|
self.attempted_route = {}
|
||||||
|
|
||||||
def diagnostic_name(self):
|
def diagnostic_name(self):
|
||||||
return 'lnbase:' + self.host
|
return 'lnbase:' + str(self.host)
|
||||||
|
|
||||||
def ping_if_required(self):
|
def ping_if_required(self):
|
||||||
if time.time() - self.ping_time > 120:
|
if time.time() - self.ping_time > 120:
|
||||||
|
|||||||
Reference in New Issue
Block a user