We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3665c27 commit c58deacCopy full SHA for c58deac
src/block_range_scanner.rs
@@ -546,6 +546,8 @@ impl<N: Network> Service<N> {
546
return Err(BlockRangeScannerError::HistoricalSyncError(e.to_string()));
547
}
548
549
+ self.send_to_subscriber(ScannerMessage::Status(ScannerStatus::ChainTipReached)).await;
550
+
551
let Some(sender) = self.subscriber.clone() else {
552
return Err(BlockRangeScannerError::ServiceShutdown);
553
};
@@ -601,8 +603,6 @@ impl<N: Network> Service<N> {
601
603
602
604
info!(batch_count = batch_count, "Historical sync completed");
605
- self.send_to_subscriber(ScannerMessage::Status(ScannerStatus::ChainTipReached)).await;
-
606
Ok(())
607
608
0 commit comments