aboutsummaryrefslogtreecommitdiff
path: root/src/miner.cpp
diff options
context:
space:
mode:
authorLuke Dashjr <[email protected]>2014-10-28 07:41:33 +0000
committerLuke Dashjr <[email protected]>2014-10-28 08:15:14 +0000
commit1bea2bbddce6abaf2640c4aab56ad08de53c4b90 (patch)
tree9e9d2911a1ac218751a83b91d2813d3c9f27e834 /src/miner.cpp
parentRename RPC_TRANSACTION_* errors to RPC_VERIFY_* and use RPC_VERIFY_ERROR for ... (diff)
downloaddiscoin-1bea2bbddce6abaf2640c4aab56ad08de53c4b90.tar.xz
discoin-1bea2bbddce6abaf2640c4aab56ad08de53c4b90.zip
Rename ProcessBlock to ProcessNewBlock to indicate change of behaviour, and document it
Diffstat (limited to 'src/miner.cpp')
-rw-r--r--src/miner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/miner.cpp b/src/miner.cpp
index c2762bf44..3ad33a006 100644
--- a/src/miner.cpp
+++ b/src/miner.cpp
@@ -425,8 +425,8 @@ bool ProcessBlockFound(CBlock* pblock, CWallet& wallet, CReserveKey& reservekey)
// Process this block the same as if we had received it from another node
CValidationState state;
- if (!ProcessBlock(state, NULL, pblock))
- return error("BitcoinMiner : ProcessBlock, block not accepted");
+ if (!ProcessNewBlock(state, NULL, pblock))
+ return error("BitcoinMiner : ProcessNewBlock, block not accepted");
return true;
}