Skip to content

Commit

Permalink
refactor: rename function withdraw to withdrawFrom in Gateway contrac…
Browse files Browse the repository at this point in the history
…t and IGateway interface
  • Loading branch information
OnahProsperity committed Oct 1, 2024
1 parent 3e5cec2 commit 07ee50b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/Gateway.sol
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ contract Gateway is IGateway, GatewaySettingManager, PausableUpgradeable {
return true;
}

/** @dev See {withdraw-IGateway} */
/** @dev See {withdrawFrom-IGateway} */
function withdrawFrom(address provider, address recipient, uint256 _amount, address _token, bytes memory _signature) external isValidAmount(_amount) onlyAggregator returns (bool) {
bytes32 messageHash = keccak256(abi.encodePacked(provider, recipient, _amount, _token));
bytes32 ethSignedMessageHash = messageHash.toEthSignedMessageHash();
Expand Down

0 comments on commit 07ee50b

Please sign in to comment.