Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction invocation failed when executing transaction: [Error Code: 1101] cadence runtime error: Execution failed:
--> 6d36e3f5a4979dc5931f475dafd1d9589daa5fdea6cfe4378e37279ebb6e77a3:15:23
|
15 | let nft <- adminPublishedCap.withdraw(withdrawID: id)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: panic: missing NFT
--> 52cbea4e6f616b8e.PublishedNFT:125:67
|
125 | let token <- self.ownedNFTs.remove(key: withdrawID) ?? panic("missing NFT")
| ^^^^^^^^^^^^^^^^^^^^