From c22160b30f90a776ff61bfdf6358eb79ed884264 Mon Sep 17 00:00:00 2001 From: Gareth Kirwan Date: Fri, 22 Sep 2023 07:03:06 +0100 Subject: [PATCH] Fix spelling mistake Co-authored-by: Scott --- engine/order_manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/order_manager.go b/engine/order_manager.go index 5f9481b9b75..0cd0b105101 100644 --- a/engine/order_manager.go +++ b/engine/order_manager.go @@ -590,7 +590,7 @@ func (m *OrderManager) processSubmittedOrder(newOrderResp *order.SubmitResponse) } if err := m.orderStore.add(detail.CopyToPointer()); errors.Is(err, ErrOrdersAlreadyExists) { - // Streamed by ws before we got here. Details from ws supecede since they are more recent. + // Streamed by ws before we got here. Details from ws supersede since they are more recent. detail = m.orderStore.getByDetail(detail) } else if err != nil { // Non-fatal error. OrderStore doesn't mean it wasn't submitted and consumers shouldn't get an error