From 01039ea63d8e6fdd188ea47fc168a0b57e5fa660 Mon Sep 17 00:00:00 2001 From: Andrew Gouin Date: Tue, 18 Apr 2023 17:46:12 -0600 Subject: [PATCH] Fix multiple conn open init (#1173) --- relayer/processor/path_end_runtime.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relayer/processor/path_end_runtime.go b/relayer/processor/path_end_runtime.go index 9796ade1c..f7c9ffa3f 100644 --- a/relayer/processor/path_end_runtime.go +++ b/relayer/processor/path_end_runtime.go @@ -525,7 +525,7 @@ func (pathEnd *pathEndRuntime) removePacketRetention( func (pathEnd *pathEndRuntime) shouldSendConnectionMessage(message connectionIBCMessage, counterparty *pathEndRuntime) bool { eventType := message.eventType k := ConnectionInfoConnectionKey(message.info) - if eventType != chantypes.EventTypeChannelOpenInit { + if eventType != conntypes.EventTypeConnectionOpenInit { k = k.Counterparty() } if message.info.Height >= counterparty.latestBlock.Height {