Skip to content

Commit

Permalink
"getblocktemplate" could work without wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
bitkevin authored Jun 20, 2017
1 parent ef24e8e commit 26d27a1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/rpcserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit 26d27a1

Please sign in to comment.