mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
Replace CValidationState param in ProcessNewBlock with BlockChecked
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user