result to varr

This commit is contained in:
dimxy
2019-04-25 15:40:55 +05:00
parent 879a9fbaf8
commit 91704c0b0a

View File

@@ -794,6 +794,7 @@ void prices_betjson(UniValue &result, std::vector<BetInfo> bets, int16_t leverag
}
int64_t equity = totalbets + totalprofits;
result.setArray();
result.push_back(resultbets);
result.push_back(Pair("leverage", (int64_t)leverage));
result.push_back(Pair("TotalPositionSize", totalbets));