Skip to content

Commit 5dac7ca

Browse files
committed
sweep: fix godoc of GetSweepFeeDetails
1 parent f5e97c0 commit 5dac7ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sweep/sweeper.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ func (s *Sweeper) GetSweepFee(ctx context.Context,
191191
return fee, err
192192
}
193193

194-
// GetSweepFee calculates the required tx fee to spend to P2WKH. It takes a
195-
// function that is expected to add the weight of the input to the weight
194+
// GetSweepFeeDetails calculates the required tx fee to spend to P2WKH. It takes
195+
// a function that is expected to add the weight of the input to the weight
196196
// estimator. It returns also the fee rate and transaction weight.
197197
func (s *Sweeper) GetSweepFeeDetails(ctx context.Context,
198198
addInputEstimate func(*input.TxWeightEstimator) error,

0 commit comments

Comments
 (0)