Skip to content

Commit

Permalink
rename parameter to avoid Solidity warning
Browse files Browse the repository at this point in the history
  • Loading branch information
norswap committed Jul 21, 2024
1 parent 457c39c commit 8a88c75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/contracts/src/MockResolver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import "./PlayerHandle.sol";
contract MockENSResolver is IENSResolver {
mapping(bytes32 => string) public names;

function setName(bytes32 node, string memory name) public {
names[node] = name;
function setName(bytes32 node, string memory _name) public {
names[node] = _name;
}

function name(bytes32 node) external view override returns (string memory) {
Expand Down

0 comments on commit 8a88c75

Please sign in to comment.