added txid to log

This commit is contained in:
dimxy
2019-05-08 16:10:52 +05:00
parent 3a563f7256
commit 95b5d42fbe

View File

@@ -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;
}
}