"getblocktemplate" could work without wallet

This commit is contained in:
Kevin Pan
2017-06-20 10:41:46 +08:00
committed by GitHub
parent ef24e8e6be
commit 26d27a15ce

View File

@@ -293,9 +293,7 @@ static const CRPCCommand vRPCCommands[] =
{ "blockchain", "verifychain", &verifychain, true },
/* Mining */
#ifdef ENABLE_WALLET
{ "mining", "getblocktemplate", &getblocktemplate, true },
#endif
{ "mining", "getmininginfo", &getmininginfo, true },
{ "mining", "getlocalsolps", &getlocalsolps, true },
{ "mining", "getnetworksolps", &getnetworksolps, true },