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

@@ -1016,7 +1016,7 @@ bool CWallet::VerusSelectStakeOutput(CBlock *pBlock, arith_uint256 &hashResult,
if (pastBlockIndex = komodo_chainactive(nHeight - 100))
{
CBlockHeader bh = pastBlockIndex->GetBlockHeader();
uint256 pastHash = bh.GetVerusEntropyHash(nHeight);
uint256 pastHash = bh.GetVerusEntropyHash(nHeight - 100);
CPOSNonce curNonce;
BOOST_FOREACH(COutput &txout, vecOutputs)