From b88cbe7969efe908a5b95a2dc2742b2730b65703 Mon Sep 17 00:00:00 2001 From: lgalende Date: Tue, 9 Apr 2024 11:49:18 -0300 Subject: [PATCH] tasks: make withdraw call virtual --- packages/tasks/contracts/primitives/Withdrawer.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tasks/contracts/primitives/Withdrawer.sol b/packages/tasks/contracts/primitives/Withdrawer.sol index a75adf24..596ac34b 100644 --- a/packages/tasks/contracts/primitives/Withdrawer.sol +++ b/packages/tasks/contracts/primitives/Withdrawer.sol @@ -72,7 +72,7 @@ contract Withdrawer is IWithdrawer, Task { /** * @dev Executes the Withdrawer */ - function call(address token, uint256 amount) external override authP(authParams(token, amount)) { + function call(address token, uint256 amount) external virtual override authP(authParams(token, amount)) { if (amount == 0) amount = getTaskAmount(token); _beforeWithdrawer(token, amount); ISmartVault(smartVault).withdraw(token, recipient, amount);