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