Browse Source

minor fix following method rename

patch-4
ThomasV 4 years ago
parent
commit
d906819b03
  1. 2
      electrum/gui/kivy/uix/dialogs/lightning_channels.py

2
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()

Loading…
Cancel
Save