corr totals calc

This commit is contained in:
dimxy
2019-05-09 16:16:28 +05:00
parent b8b80c9341
commit 0ca3bbdb12

View File

@@ -1883,8 +1883,6 @@ UniValue PricesCashout(int64_t txfee, uint256 bettxid)
}
// pricesinfo rpc impl
UniValue PricesInfo(uint256 bettxid, int32_t refheight)
{
@@ -2125,7 +2123,7 @@ UniValue PricesGetOrderbook()
}
}
else {
totalRekt += betspos;
totalRekt += (betspos - book[0].rektfee);
}
book.erase(book.begin());
}