mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +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
|
||||
|
||||
// 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
|
||||
//nAbsVoteReq = 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user