Page MenuHomePhabricator

[avalanche] Simplify the peermanager tests by factoring the buildProof lambdas
ClosedPublic

Authored by Fabien on Apr 13 2022, 22:24.

Details

Summary

This turns the lambdas into a couple of static functions to reduce the code and have a single maintenance point. There is no change in behavior.

Test Plan
ninja check-avalanche

Diff Detail

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