Browse Source

corr adding array to json res

z_createrawtransaction
dimxy 5 years ago
parent
commit
ae4d2faa69
  1. 2
      src/cc/prices.cpp

2
src/cc/prices.cpp

@ -796,7 +796,7 @@ void prices_betjson(UniValue &result, std::vector<BetInfo> 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));

Loading…
Cancel
Save