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