Skip to content

Commit

Permalink
update: setup call not required
Browse files Browse the repository at this point in the history
- frameworks makes the setup call automatically.

Co-Authored-By: Adamantios Zaras <[email protected]>
  • Loading branch information
keshav1998 and Adamantios committed Dec 6, 2024
1 parent cf41679 commit cc08251
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/valory/skills/market_manager_abci/behaviours.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,15 +194,12 @@ def _bet_freshness_check_and_update(self) -> None:
if all_bets_fresh:
for bet in self.bets:
bet.queue_status = bet.queue_status.move_to_process()
else:
return

return

def async_act(self) -> Generator:
"""Do the action."""
with self.context.benchmark_tool.measure(self.behaviour_id).local():
# Setup the behaviour
self.setup()

# Update the bets list with new bets or update existing ones
yield from self._update_bets()

Expand Down

0 comments on commit cc08251

Please sign in to comment.