Skip to content

Commit a3a2160

Browse files
committed
Merge #10162: [trivial] Log calls to getblocktemplate
1352092 Log calls to getblocktemplate (John Newbery) Tree-SHA512: de2c6faac8baea2f63eb499dbcd0669062a71759050cf8bcada9b454fe82f056c23635d41c755badf55158ffc40a380f82bea1f40c8a2cc51604d981515b71eb
2 parents 8c28670 + 1352092 commit a3a2160

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/rpc/server.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,9 +369,7 @@ void JSONRPCRequest::parse(const UniValue& valRequest)
369369
if (!valMethod.isStr())
370370
throw JSONRPCError(RPC_INVALID_REQUEST, "Method must be a string");
371371
strMethod = valMethod.get_str();
372-
if (strMethod != "getblocktemplate") {
373-
LogPrint(BCLog::RPC, "ThreadRPCServer method=%s\n", SanitizeString(strMethod));
374-
}
372+
LogPrint(BCLog::RPC, "ThreadRPCServer method=%s\n", SanitizeString(strMethod));
375373

376374
// Parse params
377375
UniValue valParams = find_value(request, "params");

0 commit comments

Comments
 (0)