Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: unexpectedly found nil while forcing an Optional value
--> a50c838c54960a2624378cdd5fb8f1ce510e02031e9ff089445c5c14b2761cb7:79:18
|
79 | let nft = collection.borrowCard(id: saleItemID)!
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^