Remove unused CDiskBlockPos* argument from ProcessNewBlock

This commit is contained in:
Matt Corallo
2016-12-04 00:23:17 -08:00
parent dd0df81ebd
commit a13fa4c80f
6 changed files with 9 additions and 10 deletions

View File

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