aboutsummaryrefslogtreecommitdiff
path: root/src/miner.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-01-02 17:27:18 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2015-01-02 17:30:00 +0100
commit269d8ba0d24eb9a35c8c9e4995eccedfb723717b (patch)
tree388b27a434dd86045fb6abdedfdda9f4039270ad /src/miner.cpp
parent7c2dea4e925c38d89da835a7a084e02670c36391 (diff)
Remove declaration of no longer existent CheckWork
Also make ProcessBlockFound static as it is not used outside miner.cpp. Alternative implementation of #5549.
Diffstat (limited to 'src/miner.cpp')
-rw-r--r--src/miner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/miner.cpp b/src/miner.cpp
index 0ac974d6e1..3bd2a9a41f 100644
--- a/src/miner.cpp
+++ b/src/miner.cpp
@@ -411,7 +411,7 @@ CBlockTemplate* CreateNewBlockWithKey(CReserveKey& reservekey)
return CreateNewBlock(scriptPubKey);
}
-bool ProcessBlockFound(CBlock* pblock, CWallet& wallet, CReserveKey& reservekey)
+static bool ProcessBlockFound(CBlock* pblock, CWallet& wallet, CReserveKey& reservekey)
{
LogPrintf("%s\n", pblock->ToString());
LogPrintf("generated %s\n", FormatMoney(pblock->vtx[0].vout[0].nValue));