1
0

qml: fix follow-up 392c219913

This commit is contained in:
ThomasV
2025-02-20 09:38:47 +01:00
parent 19b2536da2
commit f9c427124d
2 changed files with 2 additions and 2 deletions

View File

@@ -127,7 +127,7 @@ class QETransactionListModel(QAbstractListModel, QtEventListener):
#self._logger.debug(str(tx_item))
item = tx_item
item['key'] = item.get('txid') or item.get('group_id') or item['payment_hash']
item['key'] = item.get('txid') or item['payment_hash'] or item['group_id'] # fixme: this is fragile
if 'lightning' not in item:
item['lightning'] = False

View File

@@ -1009,7 +1009,7 @@ class LNWallet(LNWorker):
timestamp = timestamp or 0,
label=label,
)
out[payment_hash] = item
out[payment_hash.hex()] = item
for chan in itertools.chain(self.channels.values(), self.channel_backups.values()): # type: AbstractChannel
item = chan.get_funding_height()
if item is None: