fix 100% PoS chain (#1332)

This commit is contained in:
blackjok3rtt
2019-03-14 16:47:09 +08:00
committed by jl777
parent 9ca1eb8543
commit b97f4e091e

View File

@@ -1527,7 +1527,7 @@ int32_t komodo_is_PoSblock(int32_t slowflag,int32_t height,CBlock *pblock,arith_
fprintf(stderr,"ht.%d isPoS.%d utxo not validated -> must be PoW fake\n",height,isPoS);
isPoS = 0;
}
else
else if ( ASSETCHAINS_STAKED != 100 )
{
bnTarget = komodo_PoWtarget(&PoSperc,bnTarget,height,ASSETCHAINS_STAKED);
if ( bhash < bnTarget )