Whoops! 😨 Something unexpected happened...
Execution failed:
error: Execution failed:
error: panic: Account not authorized to create accounts
--> 5269140e39f218a57ee05e0affe21c52503fb0bec98fa984aabd63af0dfe073c:7:3
|
7 | panic("Account not authorized to create accounts")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> cf8814d3860a9b761240d55c9432aa8d9f4f82e8e8f6c4476cb743e605b6d2c9:4:2
|
4 | let acct = AuthAccount(payer: signer)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^