diff options
author | John Newbery <john@johnnewbery.com> | 2017-04-06 10:37:30 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2017-04-06 10:37:30 -0400 |
commit | 1352092dbd5c59cb6460ed0cc5890271acf6efef (patch) | |
tree | a032e6fae62ad331ef5cf9033e3af5eaf48869b7 /src/rpc/server.cpp | |
parent | c7e73eafa139c29a38f73ab697e2e967a386908d (diff) |
Log calls to getblocktemplate
Diffstat (limited to 'src/rpc/server.cpp')
-rw-r--r-- | src/rpc/server.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp index 141062b3c0..c86b130f9c 100644 --- a/src/rpc/server.cpp +++ b/src/rpc/server.cpp @@ -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"); |