diff options
| author | Russell Yanofsky <[email protected]> | 2017-09-07 17:20:26 -0400 |
|---|---|---|
| committer | Russell Yanofsky <[email protected]> | 2017-10-03 15:25:00 -0400 |
| commit | edafc718ad071993d10b3b9a1e1828bbd1f8ce54 (patch) | |
| tree | 9b6f737f70a6f2e4a090e1fb9626d2706bb24dee /src/rpc/server.h | |
| parent | Merge #11433: qa: Restore bitcoin-util-test py2 compatibility (diff) | |
| download | discoin-edafc718ad071993d10b3b9a1e1828bbd1f8ce54.tar.xz discoin-edafc718ad071993d10b3b9a1e1828bbd1f8ce54.zip | |
Fix uninitialized URI in batch RPC requests
This fixes "Wallet file not specified" errors when making batch wallet RPC
calls with more than one wallet loaded. This issue was reported by
NicolasDorier <[email protected]>
https://github.com/bitcoin/bitcoin/issues/11257
Request URI is not used for anything except multiwallet request dispatching, so
this change has no other effects.
Fixes #11257
Diffstat (limited to 'src/rpc/server.h')
| -rw-r--r-- | src/rpc/server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/server.h b/src/rpc/server.h index 31d630427..74c4a9e80 100644 --- a/src/rpc/server.h +++ b/src/rpc/server.h @@ -191,7 +191,7 @@ extern std::string HelpExampleRpc(const std::string& methodname, const std::stri bool StartRPC(); void InterruptRPC(); void StopRPC(); -std::string JSONRPCExecBatch(const UniValue& vReq); +std::string JSONRPCExecBatch(const JSONRPCRequest& jreq, const UniValue& vReq); // Retrieves any serialization flags requested in command line argument int RPCSerializationFlags(); |