HomePhabricator

[avalanche] Use the clear() method where applicable in the processor tests

Description

[avalanche] Use the clear() method where applicable in the processor tests

Summary: No need to reconstruct the vector when we can clear it.

Test Plan:

ninja check-avalanche-processor_tests

Reviewers: #bitcoin_abc, sdulfari

Reviewed By: #bitcoin_abc, sdulfari

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

Details

Provenance
FabienAuthored on Jan 18 2023, 15:29
FabienPushed on Jan 19 2023, 08:47
Reviewer
Restricted Project
Differential Revision
D12997: [avalanche] Use the clear() method where applicable in the processor tests
Parents
rABC3d575c833d55: Move the overloaded template to its own header/namespace
Branches
Unknown
Tags
Unknown