From 887a17921dae309364f10fceafb4ec08057f4322 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20M=C3=BCller?= Date: Tue, 12 Dec 2023 16:04:32 -0800 Subject: [PATCH] remove resource destructor --- contracts/ExampleNFT.cdc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/contracts/ExampleNFT.cdc b/contracts/ExampleNFT.cdc index 68287c7f..57af57fa 100644 --- a/contracts/ExampleNFT.cdc +++ b/contracts/ExampleNFT.cdc @@ -266,10 +266,6 @@ access(all) contract ExampleNFT: NonFungibleToken, ViewResolver { let exampleNFT = nft as! &ExampleNFT.NFT return exampleNFT as &{MetadataViews.Resolver} } - - destroy() { - destroy self.ownedNFTs - } } /// Allows anyone to create a new empty collection