HomePhabricator

Do not pass chain params to CheckForStaleTipAndEvictPeers twice

Description

Do not pass chain params to CheckForStaleTipAndEvictPeers twice

Summary:
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

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D10195

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Sep 8 2020, 06:03
PiRKCommitted on Sep 28 2021, 07:52
PiRKPushed on Sep 28 2021, 07:52
Reviewer
Restricted Project
Differential Revision
D10195: Do not pass chain params to CheckForStaleTipAndEvictPeers twice
Parents
rABCb4aac05e7188: wallet: fix scanning progress calculation for single block range
Branches
Unknown
Tags
Unknown