fix: use AccountId::new instead of From<ProgramId>, apply formatting

This commit is contained in:
Moudy
2026-04-03 23:24:13 +02:00
parent 1d0c93e9cf
commit 032f6b8906
2 changed files with 5 additions and 10 deletions
@@ -24,8 +24,8 @@
//!
//! - `self_program_id`: enables a program to chain back to itself (step 3 above)
//! - `caller_program_id`: enables a program to restrict which callers can invoke an instruction
//! - Computed intermediate states: the initiator computes expected intermediate account
//! states from the pre_states and amount, keeping the instruction minimal.
//! - Computed intermediate states: the initiator computes expected intermediate account states from
//! the pre_states and amount, keeping the instruction minimal.
//! - Atomic rollback: if the callback doesn't return funds, the invariant check fails, and all
//! state changes from steps 1 and 2 are rolled back automatically.
//!