diff --git a/src/pow.cpp b/src/pow.cpp index 2d93a4756..a382a3eea 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -23,7 +23,7 @@ unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHead unsigned int nProofOfWorkLimit = UintToArith256(params.powLimit).GetCompact(); // Genesis block - if (pindexLast == NULL || komodo_is_notaryblock(*pblock) != 0 ) + if (pindexLast == NULL || komodo_is_notaryblock(*(CBlockHeader *)pblock) != 0 ) return nProofOfWorkLimit; // Find the first block in the averaging interval