aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/server.h
diff options
context:
space:
mode:
authorLuke Dashjr <[email protected]>2016-12-29 13:05:51 +0000
committerLuke Dashjr <[email protected]>2017-02-27 20:45:18 +0000
commitad1573472e3eff7378f9e28e0d267f919c368907 (patch)
treeee29de7cc5cd99174150609adea4c270087021e2 /src/rpc/server.h
parentReformat touched lines with C++11 (diff)
downloaddiscoin-ad1573472e3eff7378f9e28e0d267f919c368907.tar.xz
discoin-ad1573472e3eff7378f9e28e0d267f919c368907.zip
RPC: Pass on JSONRPCRequest metadata (URI/user/etc) for "help" method
Diffstat (limited to 'src/rpc/server.h')
-rw-r--r--src/rpc/server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/server.h b/src/rpc/server.h
index 72ffc7652..0850f68f1 100644
--- a/src/rpc/server.h
+++ b/src/rpc/server.h
@@ -154,7 +154,7 @@ private:
public:
CRPCTable();
const CRPCCommand* operator[](const std::string& name) const;
- std::string help(const std::string& name) const;
+ std::string help(const std::string& name, const JSONRPCRequest& helpreq) const;
/**
* Execute a method.