From 3cc50c6e6a92999e761900ebd1604238b2465eb2 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 14 Jul 2018 18:36:31 +0200 Subject: [PATCH] diagnostic_name: convert to str --- electrum/lnbase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/lnbase.py b/electrum/lnbase.py index 94e321cc0..4c2638934 100644 --- a/electrum/lnbase.py +++ b/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: