commit d906819b03454dde869237873f6b9285828e1905
parent 998f41256fc4e41ceb0a3a18681e305415a106ef
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 18 Feb 2021 13:36:54 +0100
minor fix following method rename
Diffstat:
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
@@ -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()