Skip to content

Commit

Permalink
reuse fromAddrString (minor cleanup) (#19881)
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang authored Mar 27, 2024
1 parent 9c53142 commit d78edac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/bank/keeper/send.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ func (k BaseSendKeeper) SendCoins(ctx context.Context, fromAddr, toAddr sdk.AccA
),
sdk.NewEvent(
sdk.EventTypeMessage,
sdk.NewAttribute(types.AttributeKeySender, fromAddr.String()),
sdk.NewAttribute(types.AttributeKeySender, fromAddrString),
),
})

Expand Down

0 comments on commit d78edac

Please sign in to comment.