From d33a3956728b7418954610c175be01e327ced7b4 Mon Sep 17 00:00:00 2001 From: Tyler <48813565+technicallyty@users.noreply.github.com> Date: Thu, 30 Jan 2025 11:10:35 -0800 Subject: [PATCH] import alias to prevent shadowing --- modules/core/keeper/msg_server.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/core/keeper/msg_server.go b/modules/core/keeper/msg_server.go index bdf4d76793e..75b862c103a 100644 --- a/modules/core/keeper/msg_server.go +++ b/modules/core/keeper/msg_server.go @@ -5,7 +5,7 @@ import ( "errors" "fmt" - "cosmossdk.io/core/event" + sdkevent "cosmossdk.io/core/event" errorsmod "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" @@ -415,9 +415,9 @@ func (k *Keeper) RecvPacket(ctx context.Context, msg *channeltypes.MsgRecvPacket // so we will loop through the events and convert them here in order to emit them with the // environment's event manager. for _, e := range errEvents { - var attrs []event.Attribute + var attrs []sdkevent.Attribute for _, attr := range e.Attributes { - attrs = append(attrs, event.Attribute{ + attrs = append(attrs, sdkevent.Attribute{ Key: attr.Key, Value: attr.Value, })