Skip to content

Commit

Permalink
fix(external-execute): removed instruction
Browse files Browse the repository at this point in the history
Removed deprecated instruction entirely.
  • Loading branch information
ogmedia authored Feb 7, 2023
1 parent 9741fb4 commit 0371d93
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions programs/squads-mpl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,15 +215,6 @@ pub mod squads_mpl {
ctx.accounts.multisig.add_authority()
}

/// DEPRECATED - constraint has been removed in favor of the roles program
// instruction to change the external execute setting, which allows
// non-members or programs to execute a transaction.
pub fn set_external_execute(_ctx: Context<MsAuth>, _setting: bool) -> Result<()> {
// let _ms = &mut ctx.accounts.multisig;
// ms.allow_external_execute = setting; // no op
Ok(())
}

/// Instruction to create a multisig transaction.
/// Each transaction is tied to a single authority, and must be specified when
/// creating the instruction below. authority 0 is reserved for internal
Expand Down

0 comments on commit 0371d93

Please # to comment.