commit b265212fe68ea95ce29b864e4c8ef9ebeff56b99
parent d9813540ace90a1650feef797ee8a607b152e086
Author: ThomasV <thomasv@electrum.org>
Date: Sat, 2 Feb 2019 14:47:33 +0100
show amount in channel opening/closure
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/gui/qt/history_list.py b/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: