mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
sweep: fix godoc of GetSweepFeeDetails
This commit is contained in:
parent
f5e97c035d
commit
5dac7ca75b
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue