From afe35b3875a8d2608580852bfb7fb6e9306ac84b Mon Sep 17 00:00:00 2001 From: Pedro Pinto Date: Fri, 16 Mar 2018 10:34:32 -0400 Subject: [PATCH] Removed assert(false) from md merge code. --- src/server/sparkd/exchange_sim/ExchangeSimApplication.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/server/sparkd/exchange_sim/ExchangeSimApplication.cpp b/src/server/sparkd/exchange_sim/ExchangeSimApplication.cpp index 51d144819..89114def3 100644 --- a/src/server/sparkd/exchange_sim/ExchangeSimApplication.cpp +++ b/src/server/sparkd/exchange_sim/ExchangeSimApplication.cpp @@ -460,7 +460,6 @@ void ExchangeSimApplication::merge_with_md_book() { auto &ts = kvp.second.last_read; md::PriceSize bids[md::COCONUT_MAX_DEPTH], asks[md::COCONUT_MAX_DEPTH]; if (handle.get_depth(ts,md::COCONUT_MAX_DEPTH,bids, asks) == md::HandleReadResult::SUCCESS) { - bts_assert(false); Book target_book; for (size_t i = 0; i < md::COCONUT_MAX_DEPTH;i++) { auto b = securities::encode_exchange_price(sec,Price(bids[i].price()));