This commit is contained in:
jl777
2016-10-03 11:43:17 -03:00
parent 9668fb9212
commit 1602791a5b

View File

@@ -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