1
0

channels_list: use icon to tell apart channels from backups

This commit is contained in:
ThomasV
2021-03-23 14:06:28 +01:00
parent 62a95c4b94
commit a67fcdbc8a
2 changed files with 3 additions and 5 deletions

View File

@@ -335,7 +335,6 @@ class AbstractChannel(Logger, ABC):
def get_funding_address(self) -> str:
pass
@abstractmethod
def get_state_for_GUI(self) -> str:
cs = self.get_state()
if cs < ChannelState.CLOSED and self.force_close_detected:
@@ -479,10 +478,6 @@ class ChannelBackup(AbstractChannel):
def is_initiator(self):
return self.cb.is_initiator
def get_state_for_GUI(self):
cs_name = super().get_state_for_GUI()
return 'BACKUP' + ', '+ cs_name
def get_oldest_unrevoked_ctn(self, who):
return -1