aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_bitcoin.cpp
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2016-10-02 11:04:49 -0400
committerMatt Corallo <git@bluematt.me>2016-11-09 11:21:45 -0800
commit7c98ce584ec23bcddcba8cdb33efa6547212f6ef (patch)
tree4967bdd0c6147d73bc1512cbf79b8f24c07180e5 /src/test/test_bitcoin.cpp
parente2e069dabcd7e61e14bb7bceda6c19ec3afa358a (diff)
Remove pfrom parameter from ProcessNewBlock
This further decouples ProcessNewBlock from networking/peer logic.
Diffstat (limited to 'src/test/test_bitcoin.cpp')
-rw-r--r--src/test/test_bitcoin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp
index 3da0be8ca4..4440585c01 100644
--- a/src/test/test_bitcoin.cpp
+++ b/src/test/test_bitcoin.cpp
@@ -127,7 +127,7 @@ TestChain100Setup::CreateAndProcessBlock(const std::vector<CMutableTransaction>&
while (!CheckProofOfWork(block.GetHash(), block.nBits, chainparams.GetConsensus())) ++block.nNonce;
CValidationState state;
- ProcessNewBlock(state, chainparams, NULL, &block, true, NULL, false);
+ ProcessNewBlock(state, chainparams, &block, true, NULL, NULL);
CBlock result = block;
return result;