mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: add debug log for tree during setup (#5201)
This commit is contained in:
@ -292,6 +292,7 @@ impl<Ext: RethCliExt> NodeCommand<Ext> {
|
|||||||
.with_sync_metrics_tx(metrics_tx.clone());
|
.with_sync_metrics_tx(metrics_tx.clone());
|
||||||
let canon_state_notification_sender = tree.canon_state_notification_sender();
|
let canon_state_notification_sender = tree.canon_state_notification_sender();
|
||||||
let blockchain_tree = ShareableBlockchainTree::new(tree);
|
let blockchain_tree = ShareableBlockchainTree::new(tree);
|
||||||
|
debug!(target: "reth::cli", "configured blockchain tree");
|
||||||
|
|
||||||
// fetch the head block from the database
|
// fetch the head block from the database
|
||||||
let head = self.lookup_head(Arc::clone(&db)).wrap_err("the head block is missing")?;
|
let head = self.lookup_head(Arc::clone(&db)).wrap_err("the head block is missing")?;
|
||||||
|
|||||||
Reference in New Issue
Block a user