commit d6d5b999443cca8885bd6e2a31fb0fc9cccd335c
parent 46346eacd7c5b6c9cea7d4f842945e054f428122
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 19 Sep 2019 11:06:44 +0200
lnworker: fee_msat is expected for all entries in history
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/electrum/lnworker.py b/electrum/lnworker.py
@@ -497,6 +497,7 @@ class LNWallet(LNWorker):
'amount_msat': chan.balance(LOCAL, ctn=0),
'direction': 'received',
'timestamp': funding_timestamp,
+ 'fee_msat': None,
}
out.append(item)
if not chan.is_closed():
@@ -509,6 +510,7 @@ class LNWallet(LNWorker):
'amount_msat': -chan.balance_minus_outgoing_htlcs(LOCAL),
'direction': 'sent',
'timestamp': closing_timestamp,
+ 'fee_msat': None,
}
out.append(item)
# sort by timestamp