Skip to content

Commit 8f7e4ab

Browse files
committed
fix rpc batching univalue issue
1 parent 9a8897f commit 8f7e4ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rpcserver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ static UniValue JSONRPCExecOne(const UniValue& req)
889889

890890
static string JSONRPCExecBatch(const UniValue& vReq)
891891
{
892-
UniValue ret;
892+
UniValue ret(UniValue::VARR);
893893
for (unsigned int reqIdx = 0; reqIdx < vReq.size(); reqIdx++)
894894
ret.push_back(JSONRPCExecOne(vReq[reqIdx]));
895895

0 commit comments

Comments
 (0)