diff --git a/vega_sim/scenario/common/agents.py b/vega_sim/scenario/common/agents.py index b671f7f16..07050b1b4 100644 --- a/vega_sim/scenario/common/agents.py +++ b/vega_sim/scenario/common/agents.py @@ -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