diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-06-03 16:20:30 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-06-03 16:20:58 +0200 |
commit | 9d6060244429c4591e6ca62749f4f73cd981f247 (patch) | |
tree | cab29a59fa4c190a4159fb651d244eeac36b4a13 /src/test | |
parent | 9d67b100916e9f407b4de6648ad93b8535a270b3 (diff) | |
parent | aa8c827968a68a3adc4df5f126635e37a71a7fbb (diff) |
Merge pull request #5875
aa8c827 P2P regression test for new AcceptBlock behavior (Suhas Daftuar)
9be0e68 Be stricter in processing unrequested blocks (Suhas Daftuar)
Diffstat (limited to 'src/test')
-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 e3e9061cce..9e4fd8513e 100644 --- a/src/test/miner_tests.cpp +++ b/src/test/miner_tests.cpp @@ -84,7 +84,7 @@ BOOST_AUTO_TEST_CASE(CreateNewBlock_validity) pblock->hashMerkleRoot = pblock->BuildMerkleTree(); pblock->nNonce = blockinfo[i].nonce; CValidationState state; - BOOST_CHECK(ProcessNewBlock(state, NULL, pblock)); + BOOST_CHECK(ProcessNewBlock(state, NULL, pblock, true, NULL)); BOOST_CHECK(state.IsValid()); pblock->hashPrevBlock = pblock->GetHash(); } |