From d6d5b999443cca8885bd6e2a31fb0fc9cccd335c Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 19 Sep 2019 11:06:44 +0200 Subject: [PATCH] lnworker: fee_msat is expected for all entries in history --- electrum/lnworker.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/electrum/lnworker.py b/electrum/lnworker.py index f9ea27e43..0901b9e1b 100644 --- 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