nunocgoncalves/nft-name-service

Fix Compile Error

Closed this issue · 1 comments

shell Error: Transaction reverted without a reason string at Domains.price (contracts/Domains.sol:23) at Domains.register (contracts/Domains.sol:36)

Missing functions on Domains.sol

function register(string calldata name) public {
      domains[name] = msg.sender;
      console.log("%s has registered a domain!", msg.sender);
}

Closing issue.