Skip to content

Commit a397a45

Browse files
committed
fix: Update params in soldoc
1 parent df133b1 commit a397a45

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/RLCOFT.sol

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ contract RLCOFT is OFTUpgradeable,
3030
/// @param _name Name of the token
3131
/// @param _symbol Symbol of the token
3232
/// @param _owner Address of the contract owner
33-
function initialize(string memory _name, string memory _symbol, address _owner, address pauser)
33+
// @param _pauser Address of the contract pauser
34+
function initialize(string memory _name, string memory _symbol, address _owner, address _pauser)
3435
public
3536
initializer
3637
{
@@ -39,7 +40,7 @@ contract RLCOFT is OFTUpgradeable,
3940
__UUPSUpgradeable_init();
4041
__AccessControlDefaultAdminRules_init(0, _owner);
4142
_grantRole(UPGRADER_ROLE, _owner);
42-
_grantRole(PAUSER_ROLE, pauser);
43+
_grantRole(PAUSER_ROLE, _pauser);
4344
__Pausable_init();
4445
}
4546

0 commit comments

Comments
 (0)