mirror of
https://github.com/logos-blockchain/lez-programs.git
synced 2026-05-18 15:09:51 +00:00
Pass `ctx.self_program_id` from `ProgramContext` into `initialize_account` and `mint`, which now assert that the token definition account is owned by the token program. This prevents callers from supplying a foreign-owned account as the definition. See https://github.com/logos-co/spel/issues/172