From d3529dd1bcf1af16255ab05ce490b4436edbf748 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 18 Oct 2016 12:08:10 -0300 Subject: [PATCH] test --- src/pow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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