fix 100% PoS chain (#1332)
This commit is contained in:
@@ -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 )
|
||||||
|
|||||||
Reference in New Issue
Block a user