remove clearing prec in pricesinfo

This commit is contained in:
dimxy
2019-04-29 21:30:28 +05:00
parent 13a1463f02
commit 911462d1aa

View File

@@ -1352,8 +1352,8 @@ UniValue PricesInfo(uint256 bettxid, int32_t refheight)
int64_t liqprice;
if (leverage != 0) {// prevent zero div
liqprice = costbasis - costbasis / leverage;
liqprice /= PRICES_POINTFACTOR;
liqprice *= PRICES_POINTFACTOR; // last posiitons should be == 0000
//liqprice /= PRICES_POINTFACTOR;
//liqprice *= PRICES_POINTFACTOR; // last posiitons should be == 0000
}
else
liqprice = 0;