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
--> df6e8c1414ca249742635bb1c1a6efcf92e776d9bfa26975b3545011a395b855:11:22
|
11 | let cap = getAccount(addr).capabilities.borrow<auth(FungibleToken.Withdraw) &FlowToken.Vault>(/public/flowTokenReceiver)!
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^