HomePhabricator

[avalanche] Make the GetAvalancheVoteForBlock method const

Description

[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

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
FabienAuthored on Jan 10 2023, 14:29
FabienPushed on Jan 10 2023, 16:39
Reviewer
Restricted Project
Differential Revision
D12967: [avalanche] Make the GetAvalancheVoteForBlock method const
Parents
rABCdb0a395bbbb1: Remove obsolete hidden arg
Branches
Unknown
Tags
Unknown