Limit bits encoding

This commit is contained in:
jl777
2019-08-05 22:42:41 -11:00
parent 489f089ebf
commit ee058b33ae

View File

@@ -319,9 +319,8 @@ unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHead
fprintf(stderr," cmp.%d mult.%d for ht.%d\n",mult>1,(int32_t)mult,height);
}
nbits = bnTarget.GetCompact();
}
if ( ASSETCHAINS_ADAPTIVEPOW > 0 )
nbits = (nbits & 0xfffffffc) | zawyflag;
}
return(nbits);
}