Skip to content

Commit

Permalink
chore: fix wrong function name in go docs
Browse files Browse the repository at this point in the history
Signed-off-by: luchenhan <[email protected]>
  • Loading branch information
luchenhan committed Jan 4, 2025
1 parent 632feca commit b5d62ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion clerk/types/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func ErrEventRecordInvalid(codespace sdk.CodespaceType) sdk.Error {
return sdk.NewError(codespace, CodeEventRecordInvalid, "Event record is invalid")
}

// ErrEventUpdates represent event update error
// ErrEventUpdate represent event update error
func ErrEventUpdate(codespace sdk.CodespaceType) sdk.Error {
return sdk.NewError(codespace, CodeEventRecordUpdate, "Event record update error")
}

0 comments on commit b5d62ec

Please sign in to comment.