mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
docs: complete sentence (#11685)
This commit is contained in:
@@ -47,7 +47,7 @@ pub enum TransactionPropagationMode {
|
||||
}
|
||||
|
||||
impl TransactionPropagationMode {
|
||||
/// Returns the number of peers that should
|
||||
/// Returns the number of peers full transactions should be propagated to.
|
||||
pub(crate) fn full_peer_count(&self, peer_count: usize) -> usize {
|
||||
match self {
|
||||
Self::Sqrt => (peer_count as f64).sqrt().round() as usize,
|
||||
|
||||
Reference in New Issue
Block a user