Skip to content

Commit

Permalink
use safeTransfer
Browse files Browse the repository at this point in the history
  • Loading branch information
bxmmm1 committed Jun 14, 2024
1 parent 2ceb6a0 commit cefaf09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mainnet-contracts/src/PufLocker.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit cefaf09

Please sign in to comment.