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