Skip to content

Commit

Permalink
feat(x/bank): add origin address in event multisend
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Aug 29, 2024
1 parent 17d864f commit 5370bd3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/bank/keeper/send.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ func (k BaseSendKeeper) InputOutputCoins(ctx context.Context, input types.Input,
if err := k.EventService.EventManager(ctx).EmitKV(
types.EventTypeTransfer,
event.NewAttribute(types.AttributeKeyRecipient, out.Address),
event.NewAttribute(types.AttributeKeySender, input.Address),
event.NewAttribute(sdk.AttributeKeyAmount, out.Coins.String()),
); err != nil {
return err
Expand Down

0 comments on commit 5370bd3

Please sign in to comment.