Browse Source

show amount in channel opening/closure

dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
ThomasV 6 years ago
parent
commit
b265212fe6
  1. 2
      electrum/gui/qt/history_list.py

2
electrum/gui/qt/history_list.py

@ -284,7 +284,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