Browse Source

lnworker: fee_msat is expected for all entries in history

dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
ThomasV 5 years ago
parent
commit
d6d5b99944
  1. 2
      electrum/lnworker.py

2
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

Loading…
Cancel
Save