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/miner_tests.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/miner_tests.cpp')
| -rw-r--r-- | src/test/miner_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/miner_tests.cpp b/src/test/miner_tests.cpp index 2762cafa3..e71a4b1eb 100644 --- a/src/test/miner_tests.cpp +++ b/src/test/miner_tests.cpp @@ -223,7 +223,7 @@ BOOST_AUTO_TEST_CASE(CreateNewBlock_validity) pblock->hashMerkleRoot = BlockMerkleRoot(*pblock); pblock->nNonce = blockinfo[i].nonce; CValidationState state; - BOOST_CHECK(ProcessNewBlock(state, chainparams, NULL, pblock, true, NULL, false)); + BOOST_CHECK(ProcessNewBlock(state, chainparams, pblock, true, NULL, NULL)); BOOST_CHECK(state.IsValid()); pblock->hashPrevBlock = pblock->GetHash(); } |