From e38dabf5021ea509e6d4f4e5887ff9d77ba356c9 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 29 Mar 2021 18:37:13 +0200 Subject: [PATCH] lnchannel: get_state_for_GUI minor fix --- electrum/lnchannel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/lnchannel.py b/electrum/lnchannel.py index 18d4512c6..1d8aeb9d4 100644 --- a/electrum/lnchannel.py +++ b/electrum/lnchannel.py @@ -339,7 +339,7 @@ class AbstractChannel(Logger, ABC): def get_state_for_GUI(self) -> str: cs = self.get_state() - if cs == ChannelState.OPEN and self.unconfirmed_closing_txid: + if cs <= ChannelState.OPEN and self.unconfirmed_closing_txid: return 'FORCE-CLOSING' return cs.name