From 9fae137e45786afcddaf70bdcbec0b1c88ac5402 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Wed, 22 Mar 2023 02:06:26 -0700 Subject: [PATCH] shorten log message --- web3_proxy/src/rpcs/many.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web3_proxy/src/rpcs/many.rs b/web3_proxy/src/rpcs/many.rs index f6632679..24f84678 100644 --- a/web3_proxy/src/rpcs/many.rs +++ b/web3_proxy/src/rpcs/many.rs @@ -1016,11 +1016,11 @@ impl Web3Rpcs { if num_skipped == 0 { let consensus = watch_consensus_connections.borrow(); - let head_block = consensus.as_ref().map(|x| &x.head_block); + let head_block_num = consensus.as_ref().map(|x| x.head_block.number()); error!( "No servers synced ({:?}-{:?}, {:?}) ({} known). None skipped", - min_block_needed, max_block_needed, head_block, num_conns + min_block_needed, max_block_needed, head_block_num, num_conns ); drop(consensus);