Skip to content

Commit

Permalink
chore: remove sdk.MustSortJSON from channel types acknowledgement (c…
Browse files Browse the repository at this point in the history
…osmos#5377)

Co-authored-by: lacsomot <153717732+lacsomot@users.noreply.github.com>
Co-authored-by: DimitrisJim <d.f.hilliard@gmail.com>
  • Loading branch information
3 people authored Dec 21, 2023
1 parent cea0a82 commit 6653205
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/core/04-channel/types/acknowledgement.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import (
"strings"

errorsmod "cosmossdk.io/errors"

sdk "github.com/cosmos/cosmos-sdk/types"
)

const (
Expand Down Expand Up @@ -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)
}

0 comments on commit 6653205

Please sign in to comment.