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