fix: unwrap latest block for cli log (#4859)

This commit is contained in:
Matthias Seitz
2023-09-29 20:33:34 +02:00
committed by GitHub
parent 8fd27a4b40
commit a046288af9

View File

@ -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"
); );
} }