From d8f976f8fc54a8b91457290aeb10aebc30479d29 Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Sat, 2 Mar 2024 19:24:43 +0800 Subject: [PATCH] trivial: fix comments and docs --- sweep/aggregator.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sweep/aggregator.go b/sweep/aggregator.go index 260f9f659..9c6d7f5cb 100644 --- a/sweep/aggregator.go +++ b/sweep/aggregator.go @@ -29,11 +29,11 @@ type inputCluster struct { inputs pendingInputs } -// GroupInputs goes through the cluster's inputs and constructs sets of inputs -// that can be used to generate a sensible transaction. Each set contains up to -// the configured maximum number of inputs. Negative yield inputs are skipped. -// No input sets with a total value after fees below the dust limit are -// returned. +// createInputSets goes through the cluster's inputs and constructs sets of +// inputs that can be used to generate a sweeping transaction. Each set +// contains up to the configured maximum number of inputs. Negative yield +// inputs are skipped. No input sets with a total value after fees below the +// dust limit are returned. func (c *inputCluster) createInputSets(maxFeeRate chainfee.SatPerKWeight, maxInputs int) []InputSet {