From d0b6d51b92b97c0f1e79e836fda27052471a5a49 Mon Sep 17 00:00:00 2001 From: Jonathan Fung Date: Fri, 2 Aug 2024 13:36:05 -0400 Subject: [PATCH] fix --- protocol/x/clob/memclob/memclob.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/x/clob/memclob/memclob.go b/protocol/x/clob/memclob/memclob.go index 25fca7b516..68a5ac8383 100644 --- a/protocol/x/clob/memclob/memclob.go +++ b/protocol/x/clob/memclob/memclob.go @@ -2440,5 +2440,5 @@ func (m *MemClobPriceTimePriority) resizeReduceOnlyMatchIfNecessary( } func (m *MemClobPriceTimePriority) GetOrderbook(ctx sdk.Context, clobPairId types.ClobPairId) types.OrderbookInterface { - return m.orderbooks[clobPairId] + return m.openOrders.orderbooksMap[clobPairId] }