Skip to content

Commit

Permalink
Domain unlisting: use DomainForSale with price 0 instead
Browse files Browse the repository at this point in the history
  • Loading branch information
simonesestito committed Jan 12, 2024
1 parent dedebd2 commit 2eee4cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smart_contract/GethDomain.sol
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ contract DomainMarketplace is ERC721Royalty, Ownable {

// _transfer(address(this), msg.sender, id);
// Emetti l'evento per ricordare di aggiornare la lista dei domini in vendita SERVE???
emit DomainSold(msg.sender, domain);
emit DomainForSale(domain, msg.sender, 0);
}

function setTor(bytes calldata domain, bytes calldata dominioTor) external onlyDomainOwner(domain) {
Expand Down

0 comments on commit 2eee4cc

Please sign in to comment.