aboutsummaryrefslogtreecommitdiff
path: root/src/miner.cpp
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2014-10-28 07:41:33 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2014-10-28 08:15:14 +0000
commit1bea2bbddce6abaf2640c4aab56ad08de53c4b90 (patch)
tree9e9d2911a1ac218751a83b91d2813d3c9f27e834 /src/miner.cpp
parentd29a2917ff73f7e82b32bd94a87df3ee211a27c2 (diff)
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 c2762bf44e..3ad33a0062 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;
}