aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-04-07 14:52:29 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2017-04-07 14:55:29 +0200
commita3a2160b665076a9405d360427249c2f73f80d82 (patch)
treea9954dee8b33549fdd0701f0a8a1129a26f8ab60 /src/rpc
parent8c28670e92b6422eb7576f074446238f9f221999 (diff)
parent1352092dbd5c59cb6460ed0cc5890271acf6efef (diff)
Merge #10162: [trivial] Log calls to getblocktemplate
1352092 Log calls to getblocktemplate (John Newbery) Tree-SHA512: de2c6faac8baea2f63eb499dbcd0669062a71759050cf8bcada9b454fe82f056c23635d41c755badf55158ffc40a380f82bea1f40c8a2cc51604d981515b71eb
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/server.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp
index 4032c5163c..5c493428d8 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");