Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz-sekara committed Mar 6, 2024
1 parent cd73f9b commit af34ca8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/services/ocr2/plugins/ccip/ccipexec/ocr2.go
Original file line number Diff line number Diff line change
Expand Up @@ -849,8 +849,8 @@ func (r *ExecutionReportingPlugin) ShouldAcceptFinalizedReport(ctx context.Conte
lggr.Errorw("Unable to decode report", "err", err)
return false, err
}
if err := r.armChainState.ValidateNotCursed(ctx); err != nil {
return false, err
if err1 := r.armChainState.ValidateNotCursed(ctx); err1 != nil {
return false, err1
}
lggr = lggr.With("messageIDs", ccipcommon.GetMessageIDsAsHexString(execReport.Messages))

Expand Down Expand Up @@ -878,8 +878,8 @@ func (r *ExecutionReportingPlugin) ShouldTransmitAcceptedReport(ctx context.Cont
lggr.Errorw("Unable to decode report", "err", err)
return false, nil
}
if err := r.armChainState.ForceValidateNotCursed(ctx); err != nil {
return false, err
if err1 := r.armChainState.ForceValidateNotCursed(ctx); err1 != nil {
return false, err1
}
lggr = lggr.With("messageIDs", ccipcommon.GetMessageIDsAsHexString(execReport.Messages))

Expand Down

0 comments on commit af34ca8

Please sign in to comment.