diff options
| author | Matt Corallo <[email protected]> | 2016-10-02 11:04:49 -0400 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2016-11-09 11:21:45 -0800 |
| commit | 7c98ce584ec23bcddcba8cdb33efa6547212f6ef (patch) | |
| tree | 4967bdd0c6147d73bc1512cbf79b8f24c07180e5 /src/test/test_bitcoin.cpp | |
| parent | Revert "RPC: Give more details when "generate" fails" (diff) | |
| download | discoin-7c98ce584ec23bcddcba8cdb33efa6547212f6ef.tar.xz discoin-7c98ce584ec23bcddcba8cdb33efa6547212f6ef.zip | |
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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp index 3da0be8ca..4440585c0 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; |