ibc-transfer: fix non-deterministic attribute value (#8442)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
Jun Kimura 2021-01-27 19:19:04 +09:00 committed by GitHub
parent ce11c9043e
commit fd04f41e23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ func (am AppModule) OnAcknowledgementPacket(
sdk.NewAttribute(types.AttributeKeyReceiver, data.Receiver),
sdk.NewAttribute(types.AttributeKeyDenom, data.Denom),
sdk.NewAttribute(types.AttributeKeyAmount, fmt.Sprintf("%d", data.Amount)),
sdk.NewAttribute(types.AttributeKeyAck, fmt.Sprintf("%v", ack)),
sdk.NewAttribute(types.AttributeKeyAck, ack.String()),
),
)