Replace hardcoded minimum with nMinGovernanceQuorum parameter

This commit is contained in:
Tim Flynn 2016-08-27 19:27:33 -04:00
parent d371930595
commit 6e24c9c664

View File

@ -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;