fix 100% PoS chain (#1332)

This commit is contained in:
blackjok3rtt
2019-03-13 21:47:09 -11:00
committed by jl777
parent 9ca1eb8543
commit b97f4e091e
+1 -1
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); fprintf(stderr,"ht.%d isPoS.%d utxo not validated -> must be PoW fake\n",height,isPoS);
isPoS = 0; isPoS = 0;
} }
else else if ( ASSETCHAINS_STAKED != 100 )
{ {
bnTarget = komodo_PoWtarget(&PoSperc,bnTarget,height,ASSETCHAINS_STAKED); bnTarget = komodo_PoWtarget(&PoSperc,bnTarget,height,ASSETCHAINS_STAKED);
if ( bhash < bnTarget ) if ( bhash < bnTarget )