diff --git a/packages/valory/skills/market_manager_abci/bets.py b/packages/valory/skills/market_manager_abci/bets.py index ba4dd0d8..47fa332b 100644 --- a/packages/valory/skills/market_manager_abci/bets.py +++ b/packages/valory/skills/market_manager_abci/bets.py @@ -312,6 +312,7 @@ def hook(data: Dict[str, Any]) -> Union[Bet, PredictionResponse, Dict[str, Bet]] # if this is a `Bet` bet_annotations = sorted(Bet.__annotations__.keys()) if bet_annotations == data_attributes: + data["queue_status"] = QueueStatus(data["queue_status"]) return Bet(**data) else: # fetch missing attributes from the data