Skip to content

docs: drop the stale removal note on Backend::latest_finalized_block_ref - #2285

Open
ilchu wants to merge 1 commit into
masterfrom
ic/drop-stale-backend-note
Open

ilchu wants to merge 1 commit into
masterfrom
ic/drop-stale-backend-note

Conversation

@ilchu

@ilchu ilchu commented Sep 21, 2026

Copy link
Copy Markdown

The rustdoc on Backend::latest_finalized_block_ref says "Note: needed only in blocks client for finalized block stream; can prolly be removed." That was copy-pasted onto both latest_finalized_block_ref and latest_best_block_ref in #1126. #1161 removed the best-block method and left the note on the finalized one, where it has been wrong since: OnlineClient::at_current_block calls it on every default read, and CombinedBackend and LegacyBackend call it too. This removes the sentence; the method's one-line description stays.

@ilchu ilchu self-assigned this Sep 21, 2026
@ilchu
ilchu requested a review from lexnv September 21, 2026 13:33

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant