From 1a31463b3ddd31ebb7efc4f24b95d6cd4b297a39 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 26 Apr 2017 19:00:44 +0300 Subject: [PATCH] Test --- src/miner.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/miner.cpp b/src/miner.cpp index 21c74578c..c2eb5b8ff 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -451,6 +451,7 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn) return pblocktemplate.release(); } +/* #ifdef ENABLE_WALLET boost::optional GetMinerScriptPubKey(CReserveKey& reservekey) #else @@ -477,7 +478,7 @@ boost::optional GetMinerScriptPubKey() return scriptPubKey; } -/*#ifdef ENABLE_WALLET +#ifdef ENABLE_WALLET CBlockTemplate* CreateNewBlockWithKey(CReserveKey& reservekey) { boost::optional scriptPubKey = GetMinerScriptPubKey(reservekey);