1
0

lnworker: get_channel_objects method to be used by GUI

This commit is contained in:
ThomasV
2022-07-20 21:07:13 +02:00
parent 4a27e4e51a
commit b5617ec0fd
4 changed files with 16 additions and 9 deletions

View File

@@ -98,8 +98,11 @@ class QEChannelListModel(QAbstractListModel, QtEventListener):
channels = []
lnchannels = self.wallet.lnworker.channels
lnchannels = self.wallet.lnworker.get_channel_objects()
for channel in lnchannels.values():
if channel.is_backup():
# not implemented
continue
item = self.channel_to_model(channel)
channels.append(item)