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