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