We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a447114 commit ed6fbb8Copy full SHA for ed6fbb8
common/fees.go
@@ -34,7 +34,7 @@ func ComputeForfeitTxFee(
34
) (uint64, error) {
35
txWeightEstimator := &input.TxWeightEstimator{}
36
37
- txWeightEstimator.AddP2PKHInput() // connector input
+ txWeightEstimator.AddTaprootKeySpendInput(txscript.SigHashDefault) // connector input
38
txWeightEstimator.AddTapscriptInput(
39
lntypes.WeightUnit(witnessSize),
40
tapscript,
0 commit comments