From cefaf095eb65482cc7e42495cf75c201f663dc64 Mon Sep 17 00:00:00 2001 From: Benjamin Date: Fri, 14 Jun 2024 16:36:41 +0200 Subject: [PATCH] use safeTransfer --- mainnet-contracts/src/PufLocker.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainnet-contracts/src/PufLocker.sol b/mainnet-contracts/src/PufLocker.sol index 59646c1..de0ed0a 100644 --- a/mainnet-contracts/src/PufLocker.sol +++ b/mainnet-contracts/src/PufLocker.sol @@ -118,7 +118,7 @@ contract PufLocker is AccessManagedUpgradeable, IPufLocker, PufLockerStorage { revert NoWithdrawableAmount(); } - IERC20(token).transfer(recipient, totalAmount); + IERC20(token).safeTransfer(recipient, totalAmount); emit Withdrawn(msg.sender, token, totalAmount, recipient); }