Skip to content

Commit

Permalink
Merge pull request #11238 from vegaprotocol/11236-spot-stop-orders
Browse files Browse the repository at this point in the history
fix: serliase stop orders into spot market
  • Loading branch information
jeremyletang authored May 3, 2024
2 parents 346e527 + e113d98 commit e8339af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/execution/spot/market_snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e8339af

Please sign in to comment.