From 29b3e5faef80453b76192e9f0b8cebb3408c0944 Mon Sep 17 00:00:00 2001 From: Till Ziegler Date: Fri, 8 Nov 2024 09:35:51 +0000 Subject: [PATCH] fix: incorrect recv packet query tag Signed-off-by: Till Ziegler --- chains/tendermint/query.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chains/tendermint/query.go b/chains/tendermint/query.go index 3a8e900d..38b4698b 100644 --- a/chains/tendermint/query.go +++ b/chains/tendermint/query.go @@ -527,7 +527,7 @@ func sendPacketQuery(channelID string, seq int) []string { } func recvPacketQuery(channelID string, seq int) []string { - return []string{fmt.Sprintf("%s.packet_src_channel='%s'", rpTag, channelID), fmt.Sprintf("%s.packet_sequence='%d'", rpTag, seq)} + return []string{fmt.Sprintf("%s.packet_dst_channel='%s'", rpTag, channelID), fmt.Sprintf("%s.packet_sequence='%d'", rpTag, seq)} } func writeAckQuery(channelID string, seq int) []string {