Skip to content

Commit

Permalink
Fix multiple conn open init (#1173)
Browse files Browse the repository at this point in the history
  • Loading branch information
agouin committed Apr 18, 2023
1 parent e594d2a commit 4aa0d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relayer/processor/path_end_runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4aa0d3c

Please sign in to comment.