Revert temporary testing value for nAbsVoteReq

- Also ensure that number of votes required is never smaller than 1
This commit is contained in:
Tim Flynn 2016-08-14 22:55:12 -04:00
parent 2d0c2de885
commit 376b833d70

View File

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