This commit is contained in:
jl777
2018-07-08 02:59:05 -11:00
parent f02af889b9
commit b45eddd85a

View File

@@ -1454,7 +1454,11 @@ int32_t komodo_checkPOW(int32_t slowflag,CBlock *pblock,int32_t height)
bnTarget.SetCompact(KOMODO_MINDIFF_NBITS,&fNegative,&fOverflow);
fprintf(stderr,"setmindiff ht.%d\n",height);
}
else bnTarget.SetCompact(pblock->nBits,&fNegative,&fOverflow);
else
{
bnTarget.SetCompact(pblock->nBits,&fNegative,&fOverflow);
fprintf(stderr,"set diff ht.%d slowflag.%d\n",height,slowflag);
}
bhash = UintToArith256(hash);
possible = komodo_block2pubkey33(pubkey33,pblock);
//fprintf(stderr,"height.%d slowflag.%d possible.%d cmp.%d\n",height,slowflag,possible,bhash > bnTarget);