dash/src/governance
UdjinM6 db2fcd004c
fix(governance): use weighted mn count (#5299)
## Issue being fixed or feature implemented
vote thresholds were counted incorrectly

## What was done?
switch from `GetValidMNsCount()` to `GetValidWeightedMNsCount()`


## How Has This Been Tested?
...

## Breaking Changes
n/a

## Checklist:
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have added or updated relevant unit/integration/functional/e2e
tests
- [ ] I have made corresponding changes to the documentation

**For repository code-owners and collaborators only**
- [x] I have assigned this pull request to a milestone
2023-04-06 09:19:32 -05:00
..
classes.cpp merge bitcoin#21055: Prune remaining g_chainman usage in validation functions 2023-04-04 12:41:45 -05:00
classes.h chore: run copyright_header.py update 2023-01-13 00:49:04 +03:00
exceptions.h refactor: remove redundant filename prefixes for Dash-specific logic (#4475) 2021-10-01 22:19:08 +03:00
governance.cpp merge bitcoin#21055: Prune remaining g_chainman usage in validation functions 2023-04-04 12:41:45 -05:00
governance.h refactor: rearrange argument order to be more consistent 2023-02-03 15:25:38 -06:00
object.cpp fix(governance): use weighted mn count (#5299) 2023-04-06 09:19:32 -05:00
object.h governance: Implement reduced governance fee (#4241) 2021-11-01 18:31:48 +03:00
validators.cpp Merge #15452: Replace CScriptID and CKeyID in CTxDestination with dedicated types 2023-02-10 23:34:57 +03:00
validators.h chore: bump copyrights (#4873) 2022-06-08 02:36:46 +03:00
vote.cpp fix: governance correct sig check (#5242) 2023-03-11 11:44:35 -06:00
vote.h chore: run copyright_header.py update 2023-01-13 00:49:04 +03:00
votedb.cpp refactor: remove redundant filename prefixes for Dash-specific logic (#4475) 2021-10-01 22:19:08 +03:00
votedb.h refactor: replace instances of typedef with using in dash code (#4488) 2021-10-06 00:26:29 +03:00