Skip to content

Commit a542131

Browse files
authored
chore(protocol-contracts): change visibility of mint function (#1308)
1 parent 34745ca commit a542131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

protocol-contracts/token/contracts/ZamaERC20.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ contract ZamaERC20 is ERC20, ERC20Permit, ERC1363, ERC20Burnable, AccessControl,
5555
* @param to Receiver of the newly minted tokens.
5656
* @param amount Number of tokens to mint.
5757
*/
58-
function mint(address to, uint256 amount) public onlyRole(MINTER_ROLE) whenNotPaused {
58+
function mint(address to, uint256 amount) external onlyRole(MINTER_ROLE) whenNotPaused {
5959
_mint(to, amount);
6060
}
6161

0 commit comments

Comments
 (0)