Skip to content

Commit

Permalink
feat: improve filtering for active amm submissions
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel1302 committed Jul 15, 2024
1 parent 91649c9 commit 6d35266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vega_sim/scenario/common/agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -3957,7 +3957,7 @@ def _check(self) -> bool:
market_id=self.market_id,
party_id=self._public_key,
status=vega_protos_events.AMM.Status.Value("STATUS_ACTIVE"),
)]
) if amm.status == vega_protos_events.AMM.Status.Value("STATUS_ACTIVE")]

if len(amms) > 0:
self.amm_created = True
Expand Down

0 comments on commit 6d35266

Please sign in to comment.