diff options
| author | Matt Corallo <[email protected]> | 2016-09-30 18:38:05 -0400 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2016-10-04 13:51:32 -0400 |
| commit | f5efa283931ce1d52c59234b58988a221d42ecb4 (patch) | |
| tree | ce892a16f3048f3a378c8a71092bf4f9be557356 /src/test/miner_tests.cpp | |
| parent | Use CValidationInterface from chain logic to notify peer logic (diff) | |
| download | discoin-f5efa283931ce1d52c59234b58988a221d42ecb4.tar.xz discoin-f5efa283931ce1d52c59234b58988a221d42ecb4.zip | |
Remove CConnman parameter from ProcessNewBlock/ActivateBestChain
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 d3aa2364d..15fceb963 100644 --- a/src/test/miner_tests.cpp +++ b/src/test/miner_tests.cpp @@ -222,7 +222,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, connman)); + BOOST_CHECK(ProcessNewBlock(state, chainparams, NULL, pblock, true, NULL)); BOOST_CHECK(state.IsValid()); pblock->hashPrevBlock = pblock->GetHash(); } |