pub fn create_multisig(
        ctx: Context<CreateMultisig>,
        owners: Vec<Pubkey>,
        threshold: u64,
        nonce: u8,
    ) -> Result<()> {
        let multisig = &mut ctx.accounts.multisig;
        multisig.owners = owners;
        multisig.threshold = threshold;
        multisig.nonce = nonce;
        Ok(())
    }
// Initializes a new multisig account with a set of owners and a threshold.
Initializes a new multisig account with a set of owners and a threshold.
Initializes a new multisig account with a set of owners and a threshold .
pub fn create_multisig(
        ctx: Context<CreateMultisig>,
        owners: Vec<Pubkey>,
        threshold: u64,
        nonce: u8,
    ) -> Result<()> {
        let multisig = &mut ctx.accounts.multisig;
        multisig.owners = owners;
        multisig.threshold = threshold;
        multisig.nonce = nonce;
        Ok(())
    }
pub fn create_multisig ( ctx : Context < CreateMultisig > , owners : Vec < Pubkey > , threshold : u64 , nonce : u8 , ) -> Result < ( ) > { let multisig = & mut ctx . accounts . multisig ; multisig . owners = owners ; multisig . threshold = threshold ; multisig . nonce = nonce ; Ok ( ( ) ) }
Initializes a new multisig account with a set of owners and a threshold.
Initializes a new multisig account with a set of owners and a threshold .
ctx
Context<CreateMultisig>
owners
Vec<Pubkey>
threshold
u64
nonce
u8
ctx
Context<CreateMultisig>
owners
Vec<Pubkey>
threshold
u64
nonce
u8