Skip to content

Commit

Permalink
import alias to prevent shadowing
Browse files Browse the repository at this point in the history
  • Loading branch information
technicallyty committed Jan 30, 2025
1 parent 327b41a commit d33a395
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/core/keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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,
})
Expand Down

0 comments on commit d33a395

Please sign in to comment.