Page MenuHomePhabricator

[avalanche] Consistently check ProofBuilder::addUTXO return value
ClosedPublic

Authored by Fabien on Thu, Sep 9, 11:52.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
Commits
rABC9744008395cb: [avalanche] Consistently check ProofBuilder::addUTXO return value
Summary

And use a [[nodiscard]] to demonstrate it. This ensure we are testing what we expect and not silently discarding duplicated stakes.

Ref T1676.
Depends on D10077 and D10078.

Test Plan
ninja all check

Diff Detail

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