trivial: fix comments and docs

This commit is contained in:
yyforyongyu 2024-03-02 19:24:43 +08:00
parent 465332f409
commit d8f976f8fc
No known key found for this signature in database
GPG Key ID: 9BCD95C4FF296868

View File

@ -29,11 +29,11 @@ type inputCluster struct {
inputs pendingInputs inputs pendingInputs
} }
// GroupInputs goes through the cluster's inputs and constructs sets of inputs // createInputSets goes through the cluster's inputs and constructs sets of
// that can be used to generate a sensible transaction. Each set contains up to // inputs that can be used to generate a sweeping transaction. Each set
// the configured maximum number of inputs. Negative yield inputs are skipped. // contains up to the configured maximum number of inputs. Negative yield
// No input sets with a total value after fees below the dust limit are // inputs are skipped. No input sets with a total value after fees below the
// returned. // dust limit are returned.
func (c *inputCluster) createInputSets(maxFeeRate chainfee.SatPerKWeight, func (c *inputCluster) createInputSets(maxFeeRate chainfee.SatPerKWeight,
maxInputs int) []InputSet { maxInputs int) []InputSet {