1
0

fix amount_msat sign in get_history

This commit is contained in:
ThomasV
2019-03-01 05:29:42 +01:00
parent 43d9e0460e
commit 7a0e8bb343

View File

@@ -194,10 +194,10 @@ class LNWorker(PrintError):
continue
item = {
'channel_id': bh2u(chan.channel_id),
'txid':closing_txid,
'txid': closing_txid,
'label': _('Close channel'),
'type': 'channel_closure',
'amount_msat': chan.balance(LOCAL),
'amount_msat': -chan.balance(LOCAL),
'direction': 'sent',
'timestamp': closing_timestamp,
}