diff --git a/modules/core/04-channel/types/acknowledgement.go b/modules/core/04-channel/types/acknowledgement.go index 9b802d0e2c7..e8db340bfeb 100644 --- a/modules/core/04-channel/types/acknowledgement.go +++ b/modules/core/04-channel/types/acknowledgement.go @@ -6,8 +6,6 @@ import ( "strings" errorsmod "cosmossdk.io/errors" - - sdk "github.com/cosmos/cosmos-sdk/types" ) const ( @@ -70,5 +68,5 @@ func (ack Acknowledgement) Success() bool { // Acknowledgement implements the Acknowledgement interface. It returns the // acknowledgement serialised using JSON. func (ack Acknowledgement) Acknowledgement() []byte { - return sdk.MustSortJSON(SubModuleCdc.MustMarshalJSON(&ack)) + return SubModuleCdc.MustMarshalJSON(&ack) }