]> Git Repo - VerusCoin.git/commitdiff
"getblocktemplate" could work without wallet
authorKevin Pan <[email protected]>
Tue, 20 Jun 2017 02:41:46 +0000 (10:41 +0800)
committerGitHub <[email protected]>
Tue, 20 Jun 2017 02:41:46 +0000 (10:41 +0800)
src/rpcserver.cpp

index 2e8aa5aadde14db849aa5aa97b1ff5e9ce0ff8e9..c2c76a1e2194ea033320bb2682b1351d77498eb8 100644 (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  },
This page took 0.026483 seconds and 4 git commands to generate.