fix rpc batching univalue issue

pull/6121/head
Jonas Schnelli 10 years ago
parent 9a8897f4ac
commit 8f7e4abbe6

@ -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]));

Loading…
Cancel
Save