From 5dac7ca75bab202296d86bcf6df6de6898faf0f0 Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Mon, 15 Jul 2024 11:22:48 -0300 Subject: [PATCH] sweep: fix godoc of GetSweepFeeDetails --- sweep/sweeper.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sweep/sweeper.go b/sweep/sweeper.go index 0af0ed8..e6b3df4 100644 --- a/sweep/sweeper.go +++ b/sweep/sweeper.go @@ -191,8 +191,8 @@ func (s *Sweeper) GetSweepFee(ctx context.Context, return fee, err } -// GetSweepFee calculates the required tx fee to spend to P2WKH. It takes a -// function that is expected to add the weight of the input to the weight +// GetSweepFeeDetails calculates the required tx fee to spend to P2WKH. It takes +// a function that is expected to add the weight of the input to the weight // estimator. It returns also the fee rate and transaction weight. func (s *Sweeper) GetSweepFeeDetails(ctx context.Context, addInputEstimate func(*input.TxWeightEstimator) error,