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: cannot access `buyPackFromAdmin`: function requires `PackAdmin` authorization, but reference is unauthorized
--> 57cdc9a76335a728f4f3981f1b8de88fcf439d44d1f1b8174a40a17b16635f4a:13:10
|
13 | self.adminRef.buyPackFromAdmin(templateIds: templateIds, packTemplateId: packTemplateId, receiptAddress: receiptAddress, price: price)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^