Accoutend for algo transaction latency in simulation.

This commit is contained in:
Pedro Pinto committed 2020-11-10 10:48:50 -05:00
1 parent d2f21c4b36
commit f9b2f413d7
1 file changed
+1
@@ -156,6 +156,7 @@ void GatewayAgent::_handle(AlgoActionEvent const &e) {
change.order.security.value(), me->current_event.first,
me->current_event.second);
forward_clock_by(me->options.transaction_latency_ns());
std::vector<Matcher::MatchEffect> effects;
me->matcher.match(Matcher::ALGO, {algo_action.change}, &effects);
for (auto &ef : effects)