Skip to content

Commit

Permalink
Update examples/gno.land/p/demo/grc/grc721/basic_nft.gno
Browse files Browse the repository at this point in the history
Co-authored-by: Morgan <[email protected]>
  • Loading branch information
irreverentsimplicity and thehowl authored Nov 17, 2023
1 parent 8eaee43 commit 9fb73d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/gno.land/p/demo/grc/grc721/basic_nft.gno
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ func (s *basicNFT) TokenURI(tid TokenID) (string, error) {

func (s *basicNFT) SetTokenURI(tid TokenID, tURI TokenURI) (bool, error) {
// check for invalid TokenID
owner, found := s.owners.Get(string(tid))
if !found {
if !s.exists() {
return false, ErrInvalidTokenId
}

Expand Down

0 comments on commit 9fb73d6

Please sign in to comment.