Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some function names in comment #1222

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions bridge/setu/util/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down Expand Up @@ -452,7 +452,7 @@ func GetCheckpointParams(cliCtx cliContext.CLIContext) (*checkpointTypes.Params,
return &params, nil
}

// GetCheckpointParams return params
// GetMilestoneParams return params
func GetMilestoneParams(cliCtx cliContext.CLIContext) (*milestoneTypes.Params, error) {
response, err := helper.FetchFromAPI(
cliCtx,
Expand Down Expand Up @@ -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,
Expand Down