From d906819b03454dde869237873f6b9285828e1905 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 18 Feb 2021 13:36:54 +0100 Subject: [PATCH] minor fix following method rename --- electrum/gui/kivy/uix/dialogs/lightning_channels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/gui/kivy/uix/dialogs/lightning_channels.py b/electrum/gui/kivy/uix/dialogs/lightning_channels.py index ca81090a2..8106158e2 100644 --- a/electrum/gui/kivy/uix/dialogs/lightning_channels.py +++ b/electrum/gui/kivy/uix/dialogs/lightning_channels.py @@ -479,7 +479,7 @@ class ChannelDetailsPopup(Popup, Logger): _("This channel may still be used for receiving, but it is frozen for sending."), _("If you want to keep using this channel, you need to disable trampoline routing in your preferences."), ]) - self.warning = '' if self.app.wallet.lnworker.channel_db or chan.is_trampoline() else _('Warning') + ': ' + msg + self.warning = '' if self.app.wallet.lnworker.channel_db or self.app.wallet.lnworker.is_trampoline_peer(chan.node_id) else _('Warning') + ': ' + msg def close(self): Question(_('Close channel?'), self._close).open()