Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ impl MultisigAddSpendingLimit<'_> {

/// Create a new spending limit for the controlled multisig.
/// NOTE: This instruction must be called only by the `config_authority` if one is set (Controlled Multisig).
/// Uncontrolled Mustisigs should use `config_transaction_create` instead.
/// Uncontrolled Multisigs should use `config_transaction_create` instead.
#[access_control(ctx.accounts.validate())]
pub fn multisig_add_spending_limit(
ctx: Context<Self>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ impl MultisigConfig<'_> {
/// Add a member/key to the multisig and reallocate space if necessary.
///
/// NOTE: This instruction must be called only by the `config_authority` if one is set (Controlled Multisig).
/// Uncontrolled Mustisigs should use `config_transaction_create` instead.
/// Uncontrolled Multisigs should use `config_transaction_create` instead.
#[access_control(ctx.accounts.validate())]
pub fn multisig_add_member(ctx: Context<Self>, args: MultisigAddMemberArgs) -> Result<()> {
let MultisigAddMemberArgs { new_member, .. } = args;
Expand Down Expand Up @@ -120,7 +120,7 @@ impl MultisigConfig<'_> {
/// Remove a member/key from the multisig.
///
/// NOTE: This instruction must be called only by the `config_authority` if one is set (Controlled Multisig).
/// Uncontrolled Mustisigs should use `config_transaction_create` instead.
/// Uncontrolled Multisigs should use `config_transaction_create` instead.
#[access_control(ctx.accounts.validate())]
pub fn multisig_remove_member(
ctx: Context<Self>,
Expand All @@ -140,7 +140,7 @@ impl MultisigConfig<'_> {
}

/// NOTE: This instruction must be called only by the `config_authority` if one is set (Controlled Multisig).
/// Uncontrolled Mustisigs should use `config_transaction_create` instead.
/// Uncontrolled Multisigs should use `config_transaction_create` instead.
#[access_control(ctx.accounts.validate())]
pub fn multisig_change_threshold(
ctx: Context<Self>,
Expand All @@ -162,7 +162,7 @@ impl MultisigConfig<'_> {
/// Set the `time_lock` config parameter for the multisig.
///
/// NOTE: This instruction must be called only by the `config_authority` if one is set (Controlled Multisig).
/// Uncontrolled Mustisigs should use `config_transaction_create` instead.
/// Uncontrolled Multisigs should use `config_transaction_create` instead.
#[access_control(ctx.accounts.validate())]
pub fn multisig_set_time_lock(ctx: Context<Self>, args: MultisigSetTimeLockArgs) -> Result<()> {
let multisig = &mut ctx.accounts.multisig;
Expand All @@ -179,7 +179,7 @@ impl MultisigConfig<'_> {
/// Set the multisig `config_authority`.
///
/// NOTE: This instruction must be called only by the `config_authority` if one is set (Controlled Multisig).
/// Uncontrolled Mustisigs should use `config_transaction_create` instead.
/// Uncontrolled Multisigs should use `config_transaction_create` instead.
#[access_control(ctx.accounts.validate())]
pub fn multisig_set_config_authority(
ctx: Context<Self>,
Expand All @@ -199,7 +199,7 @@ impl MultisigConfig<'_> {
/// Set the multisig `rent_collector` and reallocate space if necessary.
///
/// NOTE: This instruction must be called only by the `config_authority` if one is set (Controlled Multisig).
/// Uncontrolled Mustisigs should use `config_transaction_create` instead.
/// Uncontrolled Multisigs should use `config_transaction_create` instead.
#[access_control(ctx.accounts.validate())]
pub fn multisig_set_rent_collector(
ctx: Context<Self>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ impl MultisigRemoveSpendingLimit<'_> {

/// Remove the spending limit from the controlled multisig.
/// NOTE: This instruction must be called only by the `config_authority` if one is set (Controlled Multisig).
/// Uncontrolled Mustisigs should use `config_transaction_create` instead.
/// Uncontrolled Multisigs should use `config_transaction_create` instead.
#[access_control(ctx.accounts.validate())]
pub fn multisig_remove_spending_limit(
ctx: Context<Self>,
Expand Down