Skip to content

Commit

Permalink
check empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
agouin committed Jul 24, 2023
1 parent 9bc705c commit f258e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relayer/processor/path_processor_internal.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (pp *PathProcessor) getMessagesToSend(
}

// if packet info has the order defined, use that.
if msgs[0].info.ChannelOrder != chantypes.NONE.String() {
if msgs[0].info.ChannelOrder != "" && msgs[0].info.ChannelOrder != chantypes.NONE.String() {
ordered = msgs[0].info.ChannelOrder == chantypes.ORDERED.String()
}

Expand Down

0 comments on commit f258e20

Please sign in to comment.