Skip to content

Commit

Permalink
fix rpc batching univalue issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasschnelli authored and str4d committed Feb 10, 2017
1 parent d014114 commit bf3f560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpcserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,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]));

Expand Down

0 comments on commit bf3f560

Please sign in to comment.