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 #1178

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 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
2 changes: 1 addition & 1 deletion checkpoint/keeper_milestone.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func (k *Keeper) SetMilestoneCount(ctx sdk.Context, number uint64) {
store.Set(CountKey, value)
}

// GetCount returns milestone count
// GetMilestoneCount returns milestone count
func (k *Keeper) GetMilestoneCount(ctx sdk.Context) uint64 {
store := ctx.KVStore(k.storeKey)
// check if count is there
Expand Down
Loading