Skip to content

Commit

Permalink
fix: emit channel event instead of connection
Browse files Browse the repository at this point in the history
  • Loading branch information
seantking committed Dec 6, 2021
1 parent bfbd64b commit 6ee9241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ func (k Keeper) ChannelOpenInit(goCtx context.Context, msg *channeltypes.MsgChan
ctx.EventManager().EmitEvents(sdk.Events{
sdk.NewEvent(
sdk.EventTypeMessage,
sdk.NewAttribute(sdk.AttributeKeyModule, connectiontypes.AttributeValueCategory),
sdk.NewAttribute(sdk.AttributeKeyModule, types.AttributeValueCategory),
),
})

Expand Down

0 comments on commit 6ee9241

Please sign in to comment.