1
0

lnchannel: get_state_for_GUI minor fix

This commit is contained in:
ThomasV
2021-03-29 18:37:13 +02:00
parent 602437bd17
commit e38dabf502

View File

@@ -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