Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 5410253849112c28d03c311cf4c315c7bd7dae3a300d441835be94f8e3b9e00f:20:8
|
20 | LostAndFound.redeemAll(type: Type<@ExampleNFT.NFT>(), max: nil, receiver: cap)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: unexpectedly found nil while forcing an Optional value
--> be4635353f55bbd4.LostAndFound:662:20
|
662 | let shelf = manager.borrowShelf(redeemer: receiver.address)!
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^