More nonce and new PoS reporting improvements

This commit is contained in:
Michael Toutonghi
2018-07-20 22:59:33 -07:00
parent 3f8720fabe
commit d7e6718dc8
4 changed files with 18 additions and 4 deletions

View File

@@ -1303,7 +1303,7 @@ bool verusCheckPOSBlock(int32_t slowflag, CBlock *pblock, int32_t height)
else
{
CBlockHeader bh = pastBlockIndex->GetBlockHeader();
uint256 pastHash = bh.GetVerusEntropyHash(height);
uint256 pastHash = bh.GetVerusEntropyHash(height - 100);
// if height is over when Nonce is required to be the new format, we check that the new format is correct
// if over when we have the new POS hash function, we validate that as well