diff options
author | Jonas Schnelli <jonas.schnelli@include7.ch> | 2015-06-02 11:41:00 +0200 |
---|---|---|
committer | Jonas Schnelli <jonas.schnelli@include7.ch> | 2015-06-04 09:16:21 +0200 |
commit | 8f7e4abbe6d6c814f5f3c069e5b3067920689dbe (patch) | |
tree | 20db3629e6caeee3eeb3bc979dbdea78a239c55c | |
parent | 9a8897f4ac992741e153d88b54bd2cde877c713d (diff) |
fix rpc batching univalue issue
-rw-r--r-- | src/rpcserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp index 18e74e03cf..a92ec0b29b 100644 --- a/src/rpcserver.cpp +++ b/src/rpcserver.cpp @@ -889,7 +889,7 @@ static UniValue JSONRPCExecOne(const UniValue& req) static string JSONRPCExecBatch(const UniValue& vReq) { - UniValue ret; + UniValue ret(UniValue::VARR); for (unsigned int reqIdx = 0; reqIdx < vReq.size(); reqIdx++) ret.push_back(JSONRPCExecOne(vReq[reqIdx])); |