Skip to content

Commit

Permalink
fix: Change visibility of name() in IncentivizedERC20
Browse files Browse the repository at this point in the history
  • Loading branch information
LHerskind committed Nov 15, 2021
1 parent a4d0ac0 commit 467a5c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/protocol/tokenization/IncentivizedERC20.sol
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ abstract contract IncentivizedERC20 is Context, IERC20, IERC20Detailed {
}

/// @inheritdoc IERC20Detailed
function name() public view override returns (string memory) {
function name() external view override returns (string memory) {
return _name;
}

Expand Down Expand Up @@ -249,7 +249,7 @@ abstract contract IncentivizedERC20 is Context, IERC20, IERC20Detailed {
keccak256(
abi.encode(
EIP712_DOMAIN,
keccak256(bytes(name())),
keccak256(bytes(_name)),
keccak256(EIP712_REVISION),
block.chainid,
address(this)
Expand Down

0 comments on commit 467a5c1

Please sign in to comment.