This commit is contained in:
jl777
2018-04-17 13:19:36 +03:00
parent 4e8752e1ad
commit 8f91fd2b12

View File

@@ -3772,7 +3772,7 @@ int32_t komodo_fast_checkPOW(CBlock *pblock,int32_t height)
return(-1);
}
bnTarget.SetCompact(pblock->nBits,&fNegative,&fOverflow);
if ( UintToArith256(hash) > bnTarget )
if ( UintToArith256(pblock.GetHash()) > bnTarget )
{
failed = 1;
if ( ASSETCHAINS_SYMBOL[0] == 0 )