From 376b833d7054a3eaf75490a705e26d9ae8fba089 Mon Sep 17 00:00:00 2001 From: Tim Flynn Date: Sun, 14 Aug 2016 22:55:12 -0400 Subject: [PATCH] Revert temporary testing value for nAbsVoteReq - Also ensure that number of votes required is never smaller than 1 --- src/governance.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/governance.cpp b/src/governance.cpp index 26ad93b0d0..95d0ef4ebb 100644 --- a/src/governance.cpp +++ b/src/governance.cpp @@ -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