Skip to content

Commit 1352092

Browse files
committed
Log calls to getblocktemplate
1 parent c7e73ea commit 1352092

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)