Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
claravanstaden committed Oct 2, 2024
1 parent 971b8bc commit 42a0b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relayer/relays/execution/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 42a0b95

Please sign in to comment.