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