Skip to content

Fix typo in SafeERC20.sol - "Recepient" to "Recipient" #1960

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions contracts/src/libraries/SafeERC20.sol
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ library SafeERC20 {

/// @dev Calls transfer() without reverting.
/// @param _token Token to transfer.
/// @param _to Recepient address.
/// @param _to Recipient address.
/// @param _value Amount transferred.
/// @return Whether transfer succeeded or not.
function safeTransfer(IERC20 _token, address _to, uint256 _value) internal returns (bool) {
Expand All @@ -35,7 +35,7 @@ library SafeERC20 {
/// @dev Calls transferFrom() without reverting.
/// @param _token Token to transfer.
/// @param _from Sender address.
/// @param _to Recepient address.
/// @param _to Recipient address.
/// @param _value Amount transferred.
/// @return Whether transfer succeeded or not.
function safeTransferFrom(IERC20 _token, address _from, address _to, uint256 _value) internal returns (bool) {
Expand Down