-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Background
Channels that I create (initiate) show opening tx fees, but do not show closing tx fees in either getTransactions or lncli listchaintxns
Your environment
- v0.5.1-beta
- Darwin (Mac OS Majave)
- bitcoind 0.17
Steps to reproduce
When a user requests to open a channel with another node, a call to getTransactions returns the opening transaction with the correct total_fees for the opening transaction. Once you close the channel, the transaction shows up under getTransactions however total_fees remains 0 (possibly due to the way we would calculate the fee based on the multisig from the channel)
NOTE This sample data is on regtest but was also performed on mainnet, please reach out directly if you'd like tx information/logs for mainnet
{ amount: '-0.16786002',
transaction: '8254ecc786633551d2ca5ae32f75629fd6d7940e9c284229b33edd264997910b',
blockNumber: 6097,
timestamp: '1555022291',
fees: '0.00008787' },
{ amount: '0.16768165',
transaction: '4cbef435eba3370451c53738e3acb35c4bf575877ad05286150649814d548a4c',
blockNumber: 6127,
timestamp: '1555022591',
fees: '0' } ]
Expected behaviour
total_fees contains the amount of fees for the channel close transaction in getTransactions
Actual behaviour
total_fees is 0 in the closing transaction of the channel from the intiator