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