Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 44c4b1ef1f517da221df0363e45b8a7caa87ac6680095993a97a526b6a5060a3: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)!
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^