HomePhabricator

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

Description

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

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

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
FabienAuthored on Apr 13 2022, 13:40
FabienPushed on Apr 15 2022, 20:55
Reviewer
Restricted Project
Differential Revision
D11356: [avalanche] Simplify the peermanager tests by factoring the buildProof lambdas
Parents
rABCa932b4665b68: [Cashtab] Stop content from jumping in saved wallet & contact lists
Branches
Unknown
Tags
Unknown