From 3dc5d6d85eee1de5d12348d3ab57ae91727b7a4a Mon Sep 17 00:00:00 2001 From: Mingwei Tian Date: Sat, 24 Feb 2024 10:27:56 -0800 Subject: [PATCH] . --- consensus/core/src/authority_node.rs | 5 ++++- consensus/core/src/broadcaster.rs | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/consensus/core/src/authority_node.rs b/consensus/core/src/authority_node.rs index 26ad1a957192eb..cd48c5c0483cf6 100644 --- a/consensus/core/src/authority_node.rs +++ b/consensus/core/src/authority_node.rs @@ -103,7 +103,10 @@ where commit_consumer: CommitConsumer, registry: Registry, ) -> Self { - info!("Starting authority with index {}", own_index); + info!( + "Starting authority {}\n{:#?}\n{:#?}\n{:?}", + own_index, committee, parameters, protocol_config.version + ); let context = Arc::new(Context::new( own_index, committee, diff --git a/consensus/core/src/broadcaster.rs b/consensus/core/src/broadcaster.rs index 896dc716f0866e..b8c79b85f83b2c 100644 --- a/consensus/core/src/broadcaster.rs +++ b/consensus/core/src/broadcaster.rs @@ -118,7 +118,7 @@ impl Broadcaster { continue; } }; - requests.push(send_block(network_client.clone(), peer, rtt_estimate, block)); + requests.push(send_block(network_client.clone(), peer, rtt_estimate, block)); } Some((resp, start, block)) = requests.next() => { match resp {