Skip to content

Commit 4f845e5

Browse files
committed
fix: doc + fmt
1 parent d36f710 commit 4f845e5

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/block_range_scanner.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -704,17 +704,15 @@ impl BlockRangeScannerClient {
704704
/// Reorg checks are only performed when the starting block (`start_id`) is above the
705705
/// current finalized block height. When a reorg is detected:
706706
///
707-
/// 1. A [`Notification::ReorgDetected`][reorg] is emitted with the common ancestor block
707+
/// 1. A [`Notification::ReorgDetected`] is emitted with the common ancestor block
708708
/// 2. The scanner fetches the new tip block at the same height
709-
/// 3. Reorged blocks are re-streamed in chronological order (from `common_ancestor + 1`
710-
/// up to the new tip)
709+
/// 3. Reorged blocks are re-streamed in chronological order (from `common_ancestor + 1` up to
710+
/// the new tip)
711711
/// 4. The reverse scan continues from where it left off
712712
///
713713
/// If the starting block is at or below the finalized block, no reorg checks are
714714
/// performed since finalized blocks cannot be reorganized.
715715
///
716-
/// [reorg]: crate::Notification::ReorgDetected
717-
///
718716
/// # Errors
719717
///
720718
/// * `ScannerError::ServiceShutdown` - if the service is already shutting down.

0 commit comments

Comments
 (0)