Cheops Release Fix 2

Adressing small node number network issues.
This commit is contained in:
TrianglesCommunityProject
2014-08-29 13:49:42 +02:00
parent a0158e66f2
commit 215a52f3e6
4 changed files with 11 additions and 8 deletions
+3
View File
@@ -228,6 +228,9 @@ static bool GetKernelStakeModifier(uint256 hashBlockFrom, uint64& nStakeModifier
nStakeModifierTime = pindexFrom->GetBlockTime();
int64 nStakeModifierSelectionInterval = GetStakeModifierSelectionInterval();
const CBlockIndex* pindex = pindexFrom;
//fixed nStakeModifierSelectionInterval
nStakeModifierSelectionInterval = 2 * nModifierInterval;
// loop to find the stake modifier later by a selection interval
while (nStakeModifierTime < pindexFrom->GetBlockTime() + nStakeModifierSelectionInterval)