diff --git a/src/agent0/core/hyperdrive/interactive/hyperdrive_agent.py b/src/agent0/core/hyperdrive/interactive/hyperdrive_agent.py index 76a678ce0f..57665cff94 100644 --- a/src/agent0/core/hyperdrive/interactive/hyperdrive_agent.py +++ b/src/agent0/core/hyperdrive/interactive/hyperdrive_agent.py @@ -304,7 +304,7 @@ def set_max_approval(self, pool: Hyperdrive | None = None) -> None: raise ValueError("Setting approval requires an active pool.") pool.interface.base_token_contract.functions.approve( - pool.interface.hyperdrive_address, eth_utils.currency.MAX_WEI + pool.hyperdrive_address, eth_utils.currency.MAX_WEI ).sign_transact_and_wait(account=self.account, validate_transaction=True) def set_active(