From 41c7c41b0632a08fb10624e0f7a4c966f6774831 Mon Sep 17 00:00:00 2001 From: BraveBear <163831412+InventiveCoder@users.noreply.github.com> Date: Wed, 11 Dec 2024 04:51:26 +0800 Subject: [PATCH] chore: fix function name in comment (#179) Signed-off-by: InventiveCoder --- x/cwerrors/keeper/sudo_errors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/cwerrors/keeper/sudo_errors.go b/x/cwerrors/keeper/sudo_errors.go index 380d68e..bdd3f33 100644 --- a/x/cwerrors/keeper/sudo_errors.go +++ b/x/cwerrors/keeper/sudo_errors.go @@ -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) {