mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
Log calls to getblocktemplate
This commit is contained in:
parent
c7e73eafa1
commit
1352092dbd
@ -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…
Reference in New Issue
Block a user