Browse Source

added txid to log

pull/27/head
dimxy 5 years ago
parent
commit
95b5d42fbe
  1. 2
      src/cc/prices.cpp

2
src/cc/prices.cpp

@ -2100,7 +2100,7 @@ UniValue PricesGetOrderbook()
if (book[i].isOpen) {
int64_t t = 0;
for (auto b : book[i].bets) t += b.positionsize;
std::cerr << "book[i].exp=" << prices_getsourceexpression(book[i].vecparsed) << " totalpos=" << t << " equity=" << book[i].equity << std::endl;
std::cerr << "book[i].=" << book[i].txid.GetHex() << " exp=" << prices_getsourceexpression(book[i].vecparsed) << " totalpos=" << t << " equity=" << book[i].equity << std::endl;
totalliabilities += book[i].equity;
}
}

Loading…
Cancel
Save