From e2270cd71cfb5c5553bc523c673878af50d6d88a Mon Sep 17 00:00:00 2001 From: niko-renko <93560662+niko-renko@users.noreply.github.com> Date: Tue, 12 Sep 2023 13:09:46 -0400 Subject: [PATCH] Update network.rs -- typo fix (#4545) Co-authored-by: Matthias Seitz --- crates/net/network/src/network.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/net/network/src/network.rs b/crates/net/network/src/network.rs index 9199718be..ced055f58 100644 --- a/crates/net/network/src/network.rs +++ b/crates/net/network/src/network.rs @@ -132,7 +132,9 @@ impl NetworkHandle { /// Announce a block over devp2p /// - /// Caution: in PoS this is a noop, since new block propagation will happen over devp2p + /// Caution: in PoS this is a noop, since new block are no longer announced over devp2p, but are + /// instead sent to node node by the CL. However, they can still be requested over devp2p, but + /// broadcasting them is a considered a protocol violation.. pub fn announce_block(&self, block: NewBlock, hash: H256) { self.send_message(NetworkHandleMessage::AnnounceBlock(block, hash)) }