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