From ce4c352c0d85c12f264f285da8795b954410a769 Mon Sep 17 00:00:00 2001 From: claravanstaden Date: Wed, 2 Oct 2024 12:25:15 +0200 Subject: [PATCH] logs --- relayer/relays/execution/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/relayer/relays/execution/main.go b/relayer/relays/execution/main.go index b2cbc74f43..6a58c10419 100644 --- a/relayer/relays/execution/main.go +++ b/relayer/relays/execution/main.go @@ -384,7 +384,7 @@ func (r *Relay) waitAndSend(ctx context.Context, ev *contracts.GatewayOutboundMe if err != nil { return fmt.Errorf("is message procssed: %w", err) } - // If the message is already processed we shouldn't try to submit it again + // If the message is already processed we shouldn't submit it again if isProcessed { return nil } @@ -442,7 +442,7 @@ func (r *Relay) doSubmit(ctx context.Context, ev *contracts.GatewayOutboundMessa if err != nil { return fmt.Errorf("is message procssed: %w", err) } - // If the message is already processed we shouldn't try to submit it again + // If the message is already processed we shouldn't submit it again if isProcessed { return nil }