Skip to content

Commit 6f22503

Browse files
authored
chore: fix inconsistent method name in retryWithBackoffOnPayloadStatus comment (#2889)
<!-- Please read and fill out this form before submitting your PR. Please make sure you have reviewed our contributors guide before submitting your first PR. NOTE: PR titles should follow semantic commits: https://www.conventionalcommits.org/en/v1.0.0/ --> ## Overview <!-- Please provide an explanation of the PR, including the appropriate context, background, goal, and rationale. If there is an issue with this information, please provide a tl;dr and link the issue. Ex: Closes #<issue number> --> Corrected the comment for `retryWithBackoffOnPayloadStatus` function to match the actual method name. The comment previously referred to the function as "retryWithBackoff" which was inconsistent with the actual function name "retryWithBackoffOnPayloadStatus". This change ensures documentation accuracy and code clarity. Signed-off-by: bigmoonbit <bigmoonbit@outlook.com>
1 parent 3d7c3a8 commit 6f22503

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

execution/evm/execution.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func validatePayloadStatus(status engine.PayloadStatusV1) error {
6767
}
6868
}
6969

70-
// retryWithBackoff executes a function with exponential backoff retry logic.
70+
// retryWithBackoffOnPayloadStatus executes a function with exponential backoff retry logic.
7171
// It implements the Engine API specification's recommendation to retry SYNCING
7272
// status with exponential backoff. The function:
7373
// - Retries only on ErrPayloadSyncing (transient failures)

0 commit comments

Comments
 (0)