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
--> c190109259c88b3ff10191caea69a4babed519879ee29e8bcf26327ea3158f46:10:31
|
10 | let collection: &AnyResource{NonFungibleToken.CollectionPublic}
| ^^^^^^^^^^^^^^^^