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