mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
fix rpc batching univalue issue
This commit is contained in:
parent
9a8897f4ac
commit
8f7e4abbe6
1 changed files with 1 additions and 1 deletions
|
|
@ -889,7 +889,7 @@ static UniValue JSONRPCExecOne(const UniValue& req)
|
||||||
|
|
||||||
static string JSONRPCExecBatch(const UniValue& vReq)
|
static string JSONRPCExecBatch(const UniValue& vReq)
|
||||||
{
|
{
|
||||||
UniValue ret;
|
UniValue ret(UniValue::VARR);
|
||||||
for (unsigned int reqIdx = 0; reqIdx < vReq.size(); reqIdx++)
|
for (unsigned int reqIdx = 0; reqIdx < vReq.size(); reqIdx++)
|
||||||
ret.push_back(JSONRPCExecOne(vReq[reqIdx]));
|
ret.push_back(JSONRPCExecOne(vReq[reqIdx]));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue