mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 18:20:58 +02:00
fix rpc batching univalue issue
This commit is contained in:
@ -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]));
|
||||
|
||||
|
Reference in New Issue
Block a user