Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> d4cccc497f787c77d70b0c7b7260dee504253b65a284eac65deecd07dccc530e:185:19
|
185 | self.nft <-collectionRef.withdraw(withdrawID: nftId)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: panic: Missing NFT
--> c6945445cdbefec9.TuneGONFT:502:67
|
502 | let token <- self.ownedNFTs.remove(key: withdrawID) ?? panic("Missing NFT")
| ^^^^^^^^^^^^^^^^^^^^