test
This commit is contained in:
@@ -95,13 +95,15 @@ typedef struct BetInfo {
|
||||
int64_t rektfee;
|
||||
int32_t lastheight;
|
||||
int16_t leverage;
|
||||
bool isOpen, isRekt, isUp;
|
||||
bool isOpen, isRekt;
|
||||
uint256 tokenid;
|
||||
|
||||
std::vector<uint16_t> vecparsed;
|
||||
std::vector<onebetdata> bets;
|
||||
CPubKey pk;
|
||||
|
||||
bool isUp;
|
||||
|
||||
BetInfo() {
|
||||
averageCostbasis = firstprice = lastprice = liquidationprice = equity = 0;
|
||||
lastheight = 0;
|
||||
@@ -2181,6 +2183,7 @@ UniValue PricesGetOrderbook()
|
||||
}
|
||||
else {
|
||||
totalRekt += (betspos - book[0].rektfee);
|
||||
//TODO: store rekt
|
||||
}
|
||||
book.erase(book.begin());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user