mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 13:03:17 +01:00
Replace hardcoded minimum with nMinGovernanceQuorum parameter
This commit is contained in:
parent
d371930595
commit
6e24c9c664
@ -1104,7 +1104,7 @@ void CGovernanceObject::UpdateSentinelVariables(const CBlockIndex *pCurrentBlock
|
|||||||
// CALCULATE THE MINUMUM VOTE COUNT REQUIRED FOR FULL SIGNAL
|
// CALCULATE THE MINUMUM VOTE COUNT REQUIRED FOR FULL SIGNAL
|
||||||
|
|
||||||
// todo - 12.1 - should be set to `10` after governance vote compression is implemented
|
// todo - 12.1 - should be set to `10` after governance vote compression is implemented
|
||||||
int nAbsVoteReq = max(1, nMnCount / 10);
|
int nAbsVoteReq = max(Params().GetConsensus().nMinGovernanceQuorum, nMnCount / 10);
|
||||||
// todo - 12.1 - Temporarily set to 1 for testing - reverted
|
// todo - 12.1 - Temporarily set to 1 for testing - reverted
|
||||||
//nAbsVoteReq = 1;
|
//nAbsVoteReq = 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user