Log calls to getblocktemplate

(cherry picked from commit bitcoin/bitcoin@1352092dbd)
This commit is contained in:
John Newbery 2017-04-06 10:37:30 -04:00 committed by Larry Ruane
parent bb91c9fbc3
commit 4942020624
1 changed files with 1 additions and 2 deletions

View File

@ -431,8 +431,7 @@ void JSONRequest::parse(const UniValue& valRequest)
if (!valMethod.isStr())
throw JSONRPCError(RPC_INVALID_REQUEST, "Method must be a string");
strMethod = valMethod.get_str();
if (strMethod != "getblocktemplate")
LogPrint("rpc", "ThreadRPCServer method=%s\n", SanitizeString(strMethod));
LogPrint("rpc", "ThreadRPCServer method=%s\n", SanitizeString(strMethod));
// Parse params
UniValue valParams = find_value(request, "params");