X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fkernel.cpp;h=c8dc5514131f16516bc7591be0786aabb13041ec;hb=9e58e0a8ca28b15a4bfa677f5b23891972db40fd;hp=a8f4f5d6398e923f4e9044122ceee9d95e2654e0;hpb=4577465fb947bce73cfabd791d4c02ecc0adbb63;p=novacoin.git diff --git a/src/kernel.cpp b/src/kernel.cpp index a8f4f5d..c8dc551 100644 --- a/src/kernel.cpp +++ b/src/kernel.cpp @@ -38,6 +38,7 @@ static std::map mapStakeModifierCheckpoints = (160000, 0x789df0f0u ) (200000, 0x01ec1503u ) (221047, 0x0b39ef50u ) + (243100, 0xe928d83au ) ; // Hard checkpoints of stake modifiers to ensure they are deterministic (testNet) @@ -162,13 +163,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"))