commit bab22c8c53a274b74e3a17f6c7bc9d3eba1ddb10
parent 0e23f33f59b3ae841eee89cfcccf05af8a56c60b
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 17 Feb 2021 18:18:21 +0100
minor: fix exception
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/lnpeer.py b/electrum/lnpeer.py
@@ -587,7 +587,7 @@ class Peer(Logger):
await asyncio.wait_for(self.initialized, LN_P2P_NETWORK_TIMEOUT)
# trampoline is not yet in features
if not self.lnworker.channel_db and not self.lnworker.is_trampoline_peer(self.pubkey):
- raise Exception(_('Not a trampoline node') + str(self.their_features))
+ raise Exception('Not a trampoline node: ' + str(self.their_features))
feerate = self.lnworker.current_feerate_per_kw()
local_config = self.make_local_config(funding_sat, push_msat, LOCAL)