Skip to content

Commit

Permalink
Minor correction in a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoutts authored and coot committed May 12, 2021
1 parent b7fbecb commit 839ff37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
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 839ff37

Please sign in to comment.