This commit is contained in:
jl777
2018-04-20 22:21:13 +03:00
parent 350d40c747
commit bd30f12363

View File

@@ -1277,7 +1277,7 @@ int32_t komodo_checkPOW(int32_t slowflag,CBlock *pblock,int32_t height)
bnTarget.SetCompact(pblock->nBits,&fNegative,&fOverflow);
bhash = UintToArith256(hash);
possible = komodo_block2pubkey33(pubkey33,pblock);
fprinf(stderr,"height.%d slowflag.%d possible.%d cmp.%d\n",height,slowflag,possible,bhash > bnTarget);
fprintf(stderr,"height.%d slowflag.%d possible.%d cmp.%d\n",height,slowflag,possible,bhash > bnTarget);
if ( height == 0 && slowflag != 0 ) // we need to assume all prior height is in the block index
{
if ( (pprev= mapBlockIndex[pblock->hashPrevBlock]) != 0 )