diff options
author | Matt Corallo <git@bluematt.me> | 2016-10-27 16:30:17 -0400 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2016-11-09 11:21:55 -0800 |
commit | ae223576077448bd4ec250c73f5d8fe5e9a9ac7d (patch) | |
tree | 8b894f61a09b10dc25d987e695bd9ee85523312b /src/test/test_bitcoin.cpp | |
parent | 7c98ce584ec23bcddcba8cdb33efa6547212f6ef (diff) |
Replace CValidationState param in ProcessNewBlock with BlockChecked
Diffstat (limited to 'src/test/test_bitcoin.cpp')
-rw-r--r-- | src/test/test_bitcoin.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp index 4440585c01..3f7416f23f 100644 --- a/src/test/test_bitcoin.cpp +++ b/src/test/test_bitcoin.cpp @@ -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; |