HomePhabricator

[avalanche] replace banscore int with disconnect bool in registerVotes

Description

[avalanche] replace banscore int with disconnect bool in registerVotes

Summary: The banscore was always 0 or 100 (which causes disconnection), so we can simplify the logic by using a boolean without changing behavior.

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
PiRKAuthored on Tue, Apr 29, 10:12
PiRKPushed on Tue, Apr 29, 17:48
Reviewer
Restricted Project
Differential Revision
D18016: [avalanche] replace banscore int with disconnect bool in registerVotes
Parents
rABCfd87bb794a07: [cashtab] Mobile style fixes
Branches
Unknown
Tags
Unknown