aboutsummaryrefslogtreecommitdiff
path: root/src/rpcmining.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/rpcmining.cpp
parentd29a2917ff73f7e82b32bd94a87df3ee211a27c2 (diff)
downloadbitcoin-1bea2bbddce6abaf2640c4aab56ad08de53c4b90.tar.xz
Rename ProcessBlock to ProcessNewBlock to indicate change of behaviour, and document it
Diffstat (limited to 'src/rpcmining.cpp')
-rw-r--r--src/rpcmining.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcmining.cpp b/src/rpcmining.cpp
index 28076607b4..b063159721 100644
--- a/src/rpcmining.cpp
+++ b/src/rpcmining.cpp
@@ -578,7 +578,7 @@ Value submitblock(const Array& params, bool fHelp)
CValidationState state;
submitblock_StateCatcher sc(pblock.GetHash());
RegisterValidationInterface(&sc);
- bool fAccepted = ProcessBlock(state, NULL, &pblock);
+ bool fAccepted = ProcessNewBlock(state, NULL, &pblock);
UnregisterValidationInterface(&sc);
if (fAccepted)
{