fix some typos (#6789)

This commit is contained in:
int88
2024-02-26 20:07:32 +08:00
committed by GitHub
parent 92396b39c4
commit 6930734a13
2 changed files with 3 additions and 3 deletions

View File

@ -451,7 +451,7 @@ where
return propagated
}
// send full transactions to a fraction fo the connected peers (square root of the total
// send full transactions to a fraction of the connected peers (square root of the total
// number of connected peers)
let max_num_full = (self.peers.len() as f64).sqrt() as usize + 1;