From cc3b656b98954414ec56c3a16da49bca147e1d93 Mon Sep 17 00:00:00 2001 From: pwdcd Date: Tue, 7 Jan 2025 17:09:39 +0800 Subject: [PATCH] chore: fix some function names in comment Signed-off-by: pwdcd --- bridge/setu/util/common.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bridge/setu/util/common.go b/bridge/setu/util/common.go index 6195ee9d0..89658f1e5 100644 --- a/bridge/setu/util/common.go +++ b/bridge/setu/util/common.go @@ -208,7 +208,7 @@ func IsInProposerList(cliCtx cliContext.CLIContext, count uint64) (bool, error) return false, nil } -// IsInProposerList checks if we are in current proposer +// IsInMilestoneProposerList checks if we are in current proposer func IsInMilestoneProposerList(cliCtx cliContext.CLIContext, count uint64) (bool, error) { logger.Debug("Skipping proposers", "count", strconv.FormatUint(count, 10)) @@ -452,7 +452,7 @@ func GetCheckpointParams(cliCtx cliContext.CLIContext) (*checkpointTypes.Params, return ¶ms, nil } -// GetCheckpointParams return params +// GetMilestoneParams return params func GetMilestoneParams(cliCtx cliContext.CLIContext) (*milestoneTypes.Params, error) { response, err := helper.FetchFromAPI( cliCtx, @@ -536,7 +536,7 @@ func GetLatestMilestone(cliCtx cliContext.CLIContext) (*hmtypes.Milestone, error return &milestone, nil } -// GetCheckpointParams return params +// GetMilestoneCount return params func GetMilestoneCount(cliCtx cliContext.CLIContext) (*milestoneTypes.Count, error) { response, err := helper.FetchFromAPI( cliCtx,