Fix Compile Error
Closed this issue · 1 comments
nunocgoncalves commented
shell Error: Transaction reverted without a reason string at Domains.price (contracts/Domains.sol:23) at Domains.register (contracts/Domains.sol:36)
nunocgoncalves commented
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.