fix ICS-20 event bug (#6269)
This commit is contained in:
parent
850419fffd
commit
ecbb5acb3d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue