From 42a0b95f0f5dbb61eaa7b995287a033a60d3fb98 Mon Sep 17 00:00:00 2001 From: claravanstaden Date: Wed, 2 Oct 2024 12:33:58 +0200 Subject: [PATCH] fix --- relayer/relays/execution/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relayer/relays/execution/main.go b/relayer/relays/execution/main.go index 5ecdecbdab..308d521192 100644 --- a/relayer/relays/execution/main.go +++ b/relayer/relays/execution/main.go @@ -480,7 +480,7 @@ func (r *Relay) isMessageProcessed(eventNonce uint64) (bool, error) { } func (r *Relay) isInFinalizedBlock(ctx context.Context, events []*contracts.GatewayOutboundMessageAccepted) error { - if len(events) > 0 { + if len(events) == 0 { return nil } firstEvent := events[0]