Browse Source

Merge #10162: [trivial] Log calls to getblocktemplate

1352092 Log calls to getblocktemplate (John Newbery)

Tree-SHA512: de2c6faac8baea2f63eb499dbcd0669062a71759050cf8bcada9b454fe82f056c23635d41c755badf55158ffc40a380f82bea1f40c8a2cc51604d981515b71eb
0.15
Wladimir J. van der Laan 8 years ago
parent
commit
a3a2160b66
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 4
      src/rpc/server.cpp

4
src/rpc/server.cpp

@ -369,9 +369,7 @@ void JSONRPCRequest::parse(const UniValue& valRequest) @@ -369,9 +369,7 @@ void JSONRPCRequest::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(BCLog::RPC, "ThreadRPCServer method=%s\n", SanitizeString(strMethod));
}
LogPrint(BCLog::RPC, "ThreadRPCServer method=%s\n", SanitizeString(strMethod));
// Parse params
UniValue valParams = find_value(request, "params");

Loading…
Cancel
Save