-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
enhancementImprovements to existing features / behaviourImprovements to existing features / behaviour
Description
Currently when we try to bump the fee of a transaction via CPFP lnd's sweeper engine it is not accounting for the parent unconfirmed transaction:
I was trying to give it a shot while implementing the kweight feature (#7454) but I am not quite sure how I can fetch the inputs of the transaction here:
utxo, err := w.cfg.Wallet.FetchInputInfo(op)
if err != nil {
return nil, err
}
So we have the full transaction saved in the utxo.PrevTx
, but to get the fee, I need to basically do Outputs - Inputs
, but I do not know how to fetch the Prevout Amounts being in the walletkit_server ? Any ideas how to do that ?
Metadata
Metadata
Assignees
Labels
enhancementImprovements to existing features / behaviourImprovements to existing features / behaviour