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/rpcmining.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/rpcmining.cpp')
| -rw-r--r-- | src/rpcmining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcmining.cpp b/src/rpcmining.cpp index 28076607b..b06315972 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) { |