Skip to content

Commit

Permalink
event outside of loop
Browse files Browse the repository at this point in the history
  • Loading branch information
czarcas7ic committed Dec 19, 2023
1 parent 60b8fa0 commit 5c7f918
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions x/bank/keeper/send.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,10 @@ func (k BaseSendKeeper) SendManyCoins(ctx sdk.Context, fromAddr sdk.AccAddress,
sdk.NewAttribute(sdk.AttributeKeyAmount, amt.String()),
))
}
ctx.EventManager().EmitEvent(sdk.NewEvent(
sdk.EventTypeMessage,
sdk.NewAttribute(types.AttributeKeySender, fromAddr.String()),
))

return nil
}
Expand Down

0 comments on commit 5c7f918

Please sign in to comment.