Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 40a5af3f4e38b734facf5c46320a9873826698fd064609a21550a987a6b9e9f8:31:19
|
31 | let nft <- self.collectionRef.withdraw(withdrawID: nftFlowID!)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: panic: missing NFT
--> e4cf4bdc1751c65d.AllDay:836:67
|
836 | let token <- self.ownedNFTs.remove(key: withdrawID) ?? panic("missing NFT")
| ^^^^^^^^^^^^^^^^^^^^