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