Skip to content

Commit

Permalink
p2p-governor: Minor correction in a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoutts authored and coot committed Sep 28, 2021
1 parent 3b7d1c8 commit 2b6d03d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -231,7 +231,7 @@ localRoots actions@PeerSelectionActions{readLocalRootPeers}
Guarded Nothing $ do
-- We have to enforce the invariant that the number of root peers is
-- not more than the target number of known peers. It's unlikely in
-- practice so it's ok to resolve it arbitrarily using Map.take.
-- practice so it's ok to resolve it arbitrarily using clampToLimit.
localRootPeersRaw <- readLocalRootPeers
let localRootPeers' = LocalRootPeers.clampToLimit
targetNumberOfKnownPeers
Expand Down

0 comments on commit 2b6d03d

Please sign in to comment.