mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
perf: Reduce log
This commit is contained in:
@ -143,9 +143,9 @@ impl BlockSource for HlNodeBlockSource {
|
||||
fn collect_block(&self, height: u64) -> BoxFuture<eyre::Result<BlockAndReceipts>> {
|
||||
Box::pin(async move {
|
||||
if let Some(block) = self.try_collect_local_block(height).await {
|
||||
info!("Returning locally synced block for @ Height [{height}]");
|
||||
Ok(block)
|
||||
} else {
|
||||
info!("Falling back to s3/ingest-dir for block @ Height [{height}]");
|
||||
self.fallback.collect_block(height).await
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user