Skip to content

Commit

Permalink
tasks: make withdraw call virtual
Browse files Browse the repository at this point in the history
  • Loading branch information
lgalende committed Apr 9, 2024
1 parent 8dbe632 commit b88cbe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tasks/contracts/primitives/Withdrawer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b88cbe7

Please sign in to comment.