From d234b5e8d9c23cd33247e50528a3ef86072c9560 Mon Sep 17 00:00:00 2001 From: Anna Sambrook <83281726+annasambrook@users.noreply.github.com> Date: Mon, 9 Dec 2024 15:46:02 +0000 Subject: [PATCH] Update packages/valory/skills/decision_maker_abci/behaviours/bet_placement.py fix: replace approval tx with status Co-authored-by: Adamantios Zaras --- .../skills/decision_maker_abci/behaviours/bet_placement.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/valory/skills/decision_maker_abci/behaviours/bet_placement.py b/packages/valory/skills/decision_maker_abci/behaviours/bet_placement.py index c8038cba..92a78df0 100644 --- a/packages/valory/skills/decision_maker_abci/behaviours/bet_placement.py +++ b/packages/valory/skills/decision_maker_abci/behaviours/bet_placement.py @@ -99,7 +99,7 @@ def _build_exchange_tx(self) -> WaitableConditionType: def _build_approval_tx(self) -> WaitableConditionType: """Build an ERC20 approve transaction.""" - approval_tx = yield from self.build_approval_tx( + status = yield from self.build_approval_tx( self.investment_amount, self.market_maker_contract_address, self.collateral_token,