sweep: rename fee() to feeWithParent() for clarity

To make sure the caller has a better idea about what this method is
doing.
This commit is contained in:
yyforyongyu
2024-03-21 06:31:08 +08:00
parent 370e4ce98d
commit 59fbcb18d5
5 changed files with 24 additions and 19 deletions

View File

@@ -44,7 +44,7 @@ func createSweepTx(inputs []input.Input, outputs []*wire.TxOut,
return nil, 0, err
}
txFee := estimator.fee()
txFee := estimator.feeWithParent()
var (
// Create the sweep transaction that we will be building. We