Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: restricted types have been removed; replace with the concrete type or an equivalent intersection type
--> 51ead4e0fc18aebdd3054e45b976c00d170d4452ae2444f81141eeaa0dcc89f9:15:104
|
15 | let receiver = account.getCapability(/public/flowTokenReceiver).borrow<&FlowToken.Vault{FungibleToken.Receiver}>() ?? panic("Could not borrow Receiver reference to the Vault")
| ^^^^^^^^^^^^^