Page MenuHomePhabricator

[avalanche] Make the GetAvalancheVoteForBlock method const
ClosedPublic

Authored by Fabien on Jan 10 2023, 14:30.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABCffafe17dc244: [avalanche] Make the GetAvalancheVoteForBlock method const
Summary

Getting a vote should not change the PeerManager, so enforce it by marking it const.

Test Plan
ninja all check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
avalanche_vote_for_block_const
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 21723
Build 43085: Build Difflint-circular-dependencies · build-debug · build-clang-tidy · build-diff · build-without-wallet · build-clang
Build 43084: arc lint + arc unit