Skip to content

Commit

Permalink
chore: fix function name in comment (#179)
Browse files Browse the repository at this point in the history
Signed-off-by: InventiveCoder <[email protected]>
  • Loading branch information
InventiveCoder authored Dec 10, 2024
1 parent 5a08f00 commit 41c7c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/cwerrors/keeper/sudo_errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (k Keeper) storeErrorCallback(ctx sdk.Context, sudoErr types.SudoError) err
return nil
}

// GetErrosByContractAddress returns all errors (in state) for a given contract address
// GetErrorsByContractAddress returns all errors (in state) for a given contract address
func (k Keeper) GetErrorsByContractAddress(ctx sdk.Context, contractAddress []byte) (sudoErrs []types.SudoError, err error) {
rng := collections.NewPrefixedPairRange[[]byte, uint64](contractAddress)
err = k.ContractErrors.Walk(ctx, rng, func(key collections.Pair[[]byte, uint64], _ []byte) (bool, error) {
Expand Down

0 comments on commit 41c7c41

Please sign in to comment.