X-Git-Url: https://repo.jachan.dev/VerusCoin.git/blobdiff_plain/c754dbcfa654bb25e08543c662cd40f6e8853efb..1236e3c686ba98d5e58bc9b8ec6d24fdbc861bac:/src/httprpc.cpp diff --git a/src/httprpc.cpp b/src/httprpc.cpp index d60770aba..e8dca1c6f 100644 --- a/src/httprpc.cpp +++ b/src/httprpc.cpp @@ -136,6 +136,12 @@ static bool HTTPReq_JSONRPC(HTTPRequest* req, const std::string &) return false; } + extern bool printoutAPI; + if (printoutAPI == true) + { + printf("%s %s\n", jreq.strMethod.c_str(), jreq.params.write().c_str()); + } + UniValue result = tableRPC.execute(jreq.strMethod, jreq.params); // Send reply