From 8a88c7583ba0021bf8a2b4ea73a44d6069eb92bf Mon Sep 17 00:00:00 2001 From: "Nicolas \"Norswap\" Laurent" Date: Sun, 21 Jul 2024 19:40:00 +0200 Subject: [PATCH] rename parameter to avoid Solidity warning --- packages/contracts/src/MockResolver.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/contracts/src/MockResolver.sol b/packages/contracts/src/MockResolver.sol index c2f0d15..5934470 100644 --- a/packages/contracts/src/MockResolver.sol +++ b/packages/contracts/src/MockResolver.sol @@ -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) {