This commit is contained in:
jl777
2017-03-13 13:25:58 +02:00
parent 017407ee34
commit 1d86ca7c16

View File

@@ -19,7 +19,7 @@
unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHeader *pblock, const Consensus::Params& params)
{
unsigned int nProofOfWorkLimit = UintToArith256(params.powLimit).GetCompact();
return(KOMODO_MINDIFF_NBITS);
// Genesis block
if (pindexLast == NULL )
return nProofOfWorkLimit;