Update network.rs -- typo fix (#4545)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
niko-renko
2023-09-12 13:09:46 -04:00
committed by GitHub
parent c4956143b0
commit e2270cd71c

View File

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