mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix: unwrap latest block for cli log (#4859)
This commit is contained in:
@ -273,7 +273,7 @@ where
|
|||||||
info!(
|
info!(
|
||||||
target: "reth::cli",
|
target: "reth::cli",
|
||||||
connected_peers = this.state.num_connected_peers(),
|
connected_peers = this.state.num_connected_peers(),
|
||||||
latest_block = ?this.state.latest_block,
|
latest_block = this.state.latest_block.unwrap_or(this.state.current_checkpoint.block_number),
|
||||||
"Status"
|
"Status"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user