Replace CValidationState param in ProcessNewBlock with BlockChecked

This commit is contained in:
Matt Corallo
2016-10-27 16:30:17 -04:00
parent 7c98ce584e
commit ae22357607
5 changed files with 28 additions and 48 deletions

View File

@@ -126,8 +126,7 @@ TestChain100Setup::CreateAndProcessBlock(const std::vector<CMutableTransaction>&
while (!CheckProofOfWork(block.GetHash(), block.nBits, chainparams.GetConsensus())) ++block.nNonce;
CValidationState state;
ProcessNewBlock(state, chainparams, &block, true, NULL, NULL);
ProcessNewBlock(chainparams, &block, true, NULL, NULL);
CBlock result = block;
return result;