From ae4d2faa6927419dc121faf9d4a2ad4e9f1f7f35 Mon Sep 17 00:00:00 2001 From: dimxy Date: Thu, 25 Apr 2019 15:59:07 +0500 Subject: [PATCH] corr adding array to json res --- src/cc/prices.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc/prices.cpp b/src/cc/prices.cpp index 130389702..ef0dfc680 100644 --- a/src/cc/prices.cpp +++ b/src/cc/prices.cpp @@ -796,7 +796,7 @@ void prices_betjson(UniValue &result, std::vector bets, int16_t leverag } int64_t equity = totalbets + totalprofits; - result.push_back(resultbets); + result.push_back(Pair("bets", resultbets)); result.push_back(Pair("leverage", (int64_t)leverage)); result.push_back(Pair("TotalPositionSize", totalbets)); result.push_back(Pair("TotalProfits", totalprofits));