Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 74f73f997c0e363ed5f4d27707da3dd288edcbc4f4c6d928eb6aae186f29ca9d:30:23
|
30 | let nft <- self.collectionRef.withdraw(withdrawID: withdrawID)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: panic: missing NFT
--> 4eded0de73020ca5.CricketMoments:131:67
|
131 | let token <- self.ownedNFTs.remove(key: withdrawID) ?? panic("missing NFT")
| ^^^^^^^^^^^^^^^^^^^^