Skip to content

Commit

Permalink
pr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
bznein committed Sep 12, 2024
1 parent be1e9bc commit fa4183f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/04-channel/types/packet.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ func ConvertPacketV1toV2(packet Packet) (PacketV2, error) {
return PacketV2{}, errorsmod.Wrapf(ErrInvalidPacket, "expected protocol version %s, got %s instead", IBC_VERSION_2, packet.ProtocolVersion)
}

encoding := packet.Encoding
encoding := strings.TrimSpace(packet.Encoding)
if encoding == "" {
encoding = "json"
}
Expand Down

0 comments on commit fa4183f

Please sign in to comment.