Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 872451a3de996834a5f7800d5a51db910ceb41f1c49f1c86362158df86eece52:13:46
|
13 | self.transferToken <- collectionRef.withdraw(withdrawID: tokenID)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: unexpectedly found nil while forcing an Optional value
--> 1e3c78c6d580273b.LNVCT:207:25
|
207 | let token <- self.ownedNFTs.remove(key: withdrawID)!
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^