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