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: panic: invalid receiver collection
--> 8766b6c90ae7af0c6584f8eebc3c7f3924658016083190d52c9776692bd1cbe2:42:129
|
42 | let recipient = getAccount(to).capabilities.get<&{NonFungibleToken.CollectionPublic}>(collectionData.publicPath).borrow() ?? panic("invalid receiver collection")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^