Browse Source

show amount in channel opening/closure

regtest_lnd
ThomasV 6 years ago
committed by SomberNight
parent
commit
7b1481155f
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/gui/qt/history_list.py

2
electrum/gui/qt/history_list.py

@ -285,7 +285,7 @@ class HistoryModel(QAbstractItemModel, Logger):
ln_value = tx_item['amount_msat']/1000 * (-1 if tx_item['direction'] =='sent' else 1)
if txid and txid in transactions:
item = transactions[txid]
item['label'] = tx_item['label']
item['label'] = tx_item['label'] + ' (%s)'%self.parent.format_amount_and_units(tx_item['amount_msat']/1000)
item['value'] = Satoshis(item['value'].value + ln_value)
item['balance_msat'] = tx_item['balance_msat']
else:

Loading…
Cancel
Save