Skip to content

Commit 29b3e5f

Browse files
author
Till Ziegler
committed
fix: incorrect recv packet query tag
Signed-off-by: Till Ziegler <tz@schoeneweide.tk>
1 parent e1e5bc2 commit 29b3e5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chains/tendermint/query.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ func sendPacketQuery(channelID string, seq int) []string {
527527
}
528528

529529
func recvPacketQuery(channelID string, seq int) []string {
530-
return []string{fmt.Sprintf("%s.packet_src_channel='%s'", rpTag, channelID), fmt.Sprintf("%s.packet_sequence='%d'", rpTag, seq)}
530+
return []string{fmt.Sprintf("%s.packet_dst_channel='%s'", rpTag, channelID), fmt.Sprintf("%s.packet_sequence='%d'", rpTag, seq)}
531531
}
532532

533533
func writeAckQuery(channelID string, seq int) []string {

0 commit comments

Comments
 (0)