Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> e8882b6f5387cb09c7d07028fccac8d53980c8f6f99d1b2ede67f8101b95a0e1:13:22
|
13 | self.token <- collection.withdraw(withdrawID: withdrawID)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: panic: withdraw() failed: missing NFT with id: 444864
--> 6b7930acbcd12877.Cryptoys:203:67
|
203 | let token <- self.ownedNFTs.remove(key: withdrawID) ?? panic("withdraw() failed: missing NFT with id: ".concat(withdrawID.toString()))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^