docs: complete sentence (#11685)

This commit is contained in:
Matthias Seitz
2024-10-12 15:27:52 +02:00
committed by GitHub
parent db1d64b1c8
commit b365bd52f2

View File

@@ -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,