X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fkernel.cpp;h=ea2b43e91c0f879f1ef97c5d0818f22cdf9b7b6c;hb=5f3f7465db4444e49dd4a896f88c090b40d0a303;hp=3069c2c421399b8d764c63b91168bf72954a2e70;hpb=fe038d999ac1d67fa617f0a0e7aeae96a4d4cd04;p=novacoin.git diff --git a/src/kernel.cpp b/src/kernel.cpp index 3069c2c..ea2b43e 100644 --- a/src/kernel.cpp +++ b/src/kernel.cpp @@ -37,6 +37,7 @@ static std::map mapStakeModifierCheckpoints = (149000, 0x48f2bdc4u ) (160000, 0x789df0f0u ) (200000, 0x01ec1503u ) + (221047, 0x0b39ef50u ) ; // Hard checkpoints of stake modifiers to ensure they are deterministic (testNet) @@ -161,13 +162,13 @@ static bool SelectBlockFromCandidates(vector >& vSortedBy if (fSelected && hashSelection < hashBest) { hashBest = hashSelection; - *pindexSelected = (const CBlockIndex*) pindex; + *pindexSelected = pindex; } else if (!fSelected) { fSelected = true; hashBest = hashSelection; - *pindexSelected = (const CBlockIndex*) pindex; + *pindexSelected = pindex; } } if (fDebug && GetBoolArg("-printstakemodifier"))