Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update aggsender/aggsender.go
Browse files Browse the repository at this point in the history
Co-authored-by: Goran Rojovic <100121253+goran-ethernal@users.noreply.github.com>
joanestebanr and goran-ethernal authored Jan 23, 2025
1 parent b794a36 commit 2c5171b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aggsender/aggsender.go
Original file line number Diff line number Diff line change
@@ -750,7 +750,7 @@ func (a *AggSender) checkLastCertificateFromAgglayer(ctx context.Context) error
return fmt.Errorf("recovery: error processing initial status: %w", err)
}
err = a.executeInitialStatusAction(ctx, action, initialStatus.LocalCert)

Check failure on line 752 in aggsender/aggsender.go

GitHub Actions / lint

assigned to err, but never used afterwards (wastedassign)
return err
return a.executeInitialStatusAction(ctx, action, initialStatus.LocalCert)
}

func (a *AggSender) executeInitialStatusAction(ctx context.Context,

0 comments on commit 2c5171b

Please sign in to comment.