mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-02 02:05:19 +00:00
lnworker: fee_msat is expected for all entries in history
This commit is contained in:
parent
46346eacd7
commit
d6d5b99944
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue