From e113d98c202abcc290fe2e2993f27a4a51e40ef3 Mon Sep 17 00:00:00 2001 From: wwestgarth Date: Fri, 3 May 2024 14:33:17 +0100 Subject: [PATCH] fix: serliase stop orders into spot market --- core/execution/spot/market_snapshot.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/execution/spot/market_snapshot.go b/core/execution/spot/market_snapshot.go index 6b529e6f83f..f067c5483f5 100644 --- a/core/execution/spot/market_snapshot.go +++ b/core/execution/spot/market_snapshot.go @@ -226,6 +226,8 @@ func (m *Market) GetState() *types.ExecSpotMarket { HasTraded: m.hasTraded, FeesStats: m.fee.GetState(quoteAssetQuantum), MarketLiquidity: m.liquidity.GetState(), + StopOrders: m.stopOrders.ToProto(), + ExpiringStopOrders: m.expiringStopOrders.GetState(), } return em