diff options
| author | Luke Dashjr <[email protected]> | 2014-10-28 07:41:33 +0000 |
|---|---|---|
| committer | Luke Dashjr <[email protected]> | 2014-10-28 08:15:14 +0000 |
| commit | 1bea2bbddce6abaf2640c4aab56ad08de53c4b90 (patch) | |
| tree | 9e9d2911a1ac218751a83b91d2813d3c9f27e834 /src/test/miner_tests.cpp | |
| parent | Rename RPC_TRANSACTION_* errors to RPC_VERIFY_* and use RPC_VERIFY_ERROR for ... (diff) | |
| download | discoin-1bea2bbddce6abaf2640c4aab56ad08de53c4b90.tar.xz discoin-1bea2bbddce6abaf2640c4aab56ad08de53c4b90.zip | |
Rename ProcessBlock to ProcessNewBlock to indicate change of behaviour, and document it
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 bad5c13ac..6e1fcf0a7 100644 --- a/src/test/miner_tests.cpp +++ b/src/test/miner_tests.cpp @@ -79,7 +79,7 @@ BOOST_AUTO_TEST_CASE(CreateNewBlock_validity) pblock->hashMerkleRoot = pblock->BuildMerkleTree(); pblock->nNonce = blockinfo[i].nonce; CValidationState state; - BOOST_CHECK(ProcessBlock(state, NULL, pblock)); + BOOST_CHECK(ProcessNewBlock(state, NULL, pblock)); BOOST_CHECK(state.IsValid()); pblock->hashPrevBlock = pblock->GetHash(); } |