Skip to content

Commit

Permalink
fix: remove ETH constant and misleading comment (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximebrugel committed Feb 16, 2022
1 parent d937f6a commit da9a817
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions contracts/FeeSplitter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ contract FeeSplitter is Ownable, ReentrancyGuard {

/* ----------------------------- VARIABLES ----------------------------- */

address private constant ETH = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;

/// @dev Map of tokens with the tokenRecords
mapping(address => TokenRecords) private tokenRecords;

Expand Down Expand Up @@ -211,7 +209,7 @@ contract FeeSplitter is Ownable, ReentrancyGuard {

/// @notice Returns the amount due to an account. Call releaseToken to withdraw the amount.
/// @param _account Account address to check the amount due for
/// @param _token ERC20 payment token address (or ETH_ADDR)
/// @param _token ERC20 payment token address
/// @return The total amount due for the requested currency
function getAmountDue(address _account, IERC20 _token) public view returns (uint256) {
TokenRecords storage _tokenRecords = tokenRecords[address(_token)];
Expand Down

0 comments on commit da9a817

Please sign in to comment.