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