From 5c8d527f36c38d63e4b4484abe2f6b23bb311dcb Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Fri, 20 May 2022 02:19:35 +0000 Subject: [PATCH] shorter block hash --- web3-proxy/src/connections.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web3-proxy/src/connections.rs b/web3-proxy/src/connections.rs index 25f537bb..244e6cd3 100644 --- a/web3-proxy/src/connections.rs +++ b/web3-proxy/src/connections.rs @@ -236,7 +236,8 @@ impl Web3Connections { match new_block_num.cmp(&pending_synced_connections.head_block_num) { cmp::Ordering::Greater => { // the rpc's newest block is the new overall best block - info!("new head: {:?}", new_block_hash); + // TODO: if trace, do the full block hash? + info!("new head: {}", new_block_hash); pending_synced_connections.inner.clear(); pending_synced_connections.inner.insert(rpc_id);