Skip to content

Commit b8c8108

Browse files
authored
Improve docs, fix variable name in error string (#1615)
2 parents b3197ea + 4c8a761 commit b8c8108

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

claim_contracts/src/AlignedToken.sol

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,15 @@ contract AlignedToken is
3535
/// @dev The _foundation must accept the ownership of the contract
3636
/// after deployment in another transaction.
3737
/// @param _foundation address of the foundation.
38-
/// @param _claimSupplier address of the claim supplier.
38+
/// @param _claimSupplier address of the claim supplier. This is the address
39+
/// that will give the tokens to the users that claim them.
3940
function initialize(
4041
address _foundation,
4142
address _claimSupplier
4243
) public initializer {
4344
require(
4445
_foundation != address(0) && _claimSupplier != address(0),
45-
"Invalid _foundation or _claim"
46+
"Invalid _foundation or _claimSupplier"
4647
);
4748
__ERC20_init(NAME, SYMBOL);
4849
__EIP712_init(NAME, VERSION);

0 commit comments

Comments
 (0)