Skip to content

Commit

Permalink
Remove MustSortJson (#5379)
Browse files Browse the repository at this point in the history
* remove MustSortJson

* remove the json encoding in GetBytes func

---------

Co-authored-by: lacsomot <[email protected]>
  • Loading branch information
expertdicer and lacsomot authored Dec 19, 2023
1 parent d270e75 commit e432abf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/apps/27-interchain-accounts/types/packet.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (iapd InterchainAccountPacketData) ValidateBasic() error {

// GetBytes returns the JSON marshalled interchain account packet data.
func (iapd InterchainAccountPacketData) GetBytes() []byte {
return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&iapd))
return ModuleCdc.MustMarshalJSON(&iapd)
}

// UnmarshalJSON unmarshals raw JSON bytes into an InterchainAccountPacketData.
Expand Down

0 comments on commit e432abf

Please sign in to comment.