This commit is contained in:
jl777
2018-04-13 15:22:31 +03:00
parent 6864ae44a4
commit 93684bd008

View File

@@ -171,11 +171,11 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in
flag = 1; flag = 1;
else if ( special2 < 0 && height > 792000 ) else if ( special2 < 0 && height > 792000 )
flag = 0; flag = 0;
} if ( flag != 0 || special2 > 0 )
if ( flag != 0 || special2 > 0 ) {
{ //fprintf(stderr,"EASY MINING ht.%d\n",height);
//fprintf(stderr,"EASY MINING ht.%d\n",height); bnTarget.SetCompact(KOMODO_MINDIFF_NBITS,&fNegative,&fOverflow);
bnTarget.SetCompact(KOMODO_MINDIFF_NBITS,&fNegative,&fOverflow); }
} }
} }
if (fNegative || bnTarget == 0 || fOverflow || bnTarget > UintToArith256(params.powLimit)) if (fNegative || bnTarget == 0 || fOverflow || bnTarget > UintToArith256(params.powLimit))