Page MenuHomePhabricator

[avalanche][trivial] Avoid repeated getId() during proof registration
ClosedPublic

Authored by Fabien on Jan 4 2022, 19:18.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
Commits
rABCa6a234112880: [avalanche][trivial] Avoid repeated getId() during proof registration
Summary

Just get the proofid once and use that instead.
There will be more callsites as the function is extended so better make it clean now.

Ref T1854.

Test Plan
ninja check-avalanche

Diff Detail

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