diff --git a/src/pos.cpp b/src/pos.cpp index 827ac2c51..d60e0bb97 100644 --- a/src/pos.cpp +++ b/src/pos.cpp @@ -200,10 +200,13 @@ bool CheckKernel(CBlockIndex* pindexPrev, unsigned int nBits, uint32_t nTime, co } else { //found in cache const CStakeCache& stake = it->second; + /* if (CheckStakeKernelHash(pindexPrev, nBits, new CCoins(stake.txPrev, pindexPrev->nHeight), prevout, nTime)) { // Cache could potentially cause false positive stakes in the event of deep reorgs, so check without cache also return CheckKernel(pindexPrev, nBits, nTime, prevout); } + */ + return CheckStakeKernelHash(pindexPrev, nBits, new CCoins(stake.txPrev, pindexPrev->nHeight), prevout, nTime); } }