mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
Revert temporary testing value for nAbsVoteReq
- Also ensure that number of votes required is never smaller than 1
This commit is contained in:
parent
2d0c2de885
commit
376b833d70
@ -1104,9 +1104,9 @@ void CGovernanceObject::UpdateSentinelVariables(const CBlockIndex *pCurrentBlock
|
||||
// CALCULATE THE MINUMUM VOTE COUNT REQUIRED FOR FULL SIGNAL
|
||||
|
||||
// todo - 12.1 - should be set to `10` after governance vote compression is implemented
|
||||
//int nAbsVoteReq = nMnCount / 10;
|
||||
// todo - 12.1 - Temporarily set to 1 for testing
|
||||
int nAbsVoteReq = 1;
|
||||
int nAbsVoteReq = max(1, nMnCount / 10);
|
||||
// todo - 12.1 - Temporarily set to 1 for testing - reverted
|
||||
//nAbsVoteReq = 1;
|
||||
|
||||
// SET SENTINEL FLAGS TO FALSE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user