PeerManager already keeps a reference to the chain params as a member
variable. No need to pass it in once again as a function parameter.
This is a backport of core#19914
Differential D10195
Do not pass chain params to CheckForStaleTipAndEvictPeers twice PiRK on Sep 24 2021, 12:21. Authored by
Details
PeerManager already keeps a reference to the chain params as a member This is a backport of core#19914 ninja all check-all
Diff Detail
Event Timeline
Comment Actions I favored the solution that brings the code closer to Core's codebase , because I have not preference either way and it makes future backports a bit easier. |