Page MenuHomePhabricator

use local chainman in peermanager_tests
ClosedPublic

Authored by PiRK on Jul 12 2022, 14:38.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC4d6d1cb9ca3c: use local chainman in peermanager_tests
Summary

To remove usages of the global chainman in peermanager_tests, pass a reference to the active chainstate to two static functions who need it.

Depends on D11703

Test Plan

ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable