call b.EmitNew() when new order is added into activeorderbook

This commit is contained in:
Lan Phan 2024-09-14 09:47:45 +07:00
parent 25a2203000
commit 1f8b2b3710

View File

@ -359,6 +359,7 @@ func (b *ActiveOrderBook) Add(orders ...types.Order) {
}
b.add(order)
b.EmitNew(order)
}
}