Skip to content

Commit

Permalink
fix ICS-20 event bug (#6269)
Browse files Browse the repository at this point in the history
  • Loading branch information
SegueII authored May 22, 2020
1 parent 850419f commit ecbb5ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x/ibc-transfer/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import (
// NewHandler returns sdk.Handler for IBC token transfer module messages
func NewHandler(k Keeper) sdk.Handler {
return func(ctx sdk.Context, msg sdk.Msg) (*sdk.Result, error) {
ctx = ctx.WithEventManager(sdk.NewEventManager())

switch msg := msg.(type) {
case MsgTransfer:
return handleMsgTransfer(ctx, k, msg)
Expand Down

0 comments on commit ecbb5ac

Please # to comment.