Whoops! 😨 Something unexpected happened...
[Error Code: 1101] cadence runtime error Execution failed:
--> 412d5b77a8b5e2ccc9c3a128cfc70fb56fa5282a7be0467d22ed85d9164ec65f:15:10
|
15 | adminRef.openPack(packNFT :<- (collectionRef.withdraw(withdrawID: withdrawID) as! @AFLNFT.NFT), receiptAddress: receiptAddress)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: unexpectedly found nil while forcing an Optional value
--> 8f9231920da9af6d.AFLPack:117:57