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