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