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