This commit is contained in:
jl777
2018-04-17 13:20:48 +03:00
parent 8f91fd2b12
commit 2653fac26c

View File

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