Clean up: fix typos (#11165)

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
terencechain
2022-08-03 11:47:30 -07:00
committed by GitHub
parent 0c3df40b1f
commit d4ab08050f
36 changed files with 82 additions and 82 deletions

View File

@@ -740,7 +740,7 @@ func (p *Status) BestNonFinalized(minPeers int, ourHeadEpoch types.Epoch) (types
return targetEpoch, potentialPIDs
}
// PeersToPrune selects the most sutiable inbound peers
// PeersToPrune selects the most suitable inbound peers
// to disconnect the host peer from. As of this moment
// the pruning relies on simple heuristics such as
// bad response count. In the future scoring will be used