pub fn assign_system_account(
        &self,
        signer: &dyn Signer,
        program_address: &Pubkey,
    ) -> Result<Signature, FarmClientError> {
        let inst = self.new_instruction_assign_system_account(&signer.pubkey(), program_address)?;
        self.sign_and_send_instructions(&[signer], &[inst])
    }
/// Assigns system account to a program
Assigns system account to a program
Assigns system account to a program
pub fn assign_system_account(
        &self,
        signer: &dyn Signer,
        program_address: &Pubkey,
    ) -> Result<Signature, FarmClientError> {
        let inst = self.new_instruction_assign_system_account(&signer.pubkey(), program_address)?;
        self.sign_and_send_instructions(&[signer], &[inst])
    }
pub fn assign_system_account ( & self , signer : & dyn Signer , program_address : & Pubkey , ) -> Result < Signature , FarmClientError > { let inst = self . new_instruction_assign_system_account ( & signer . pubkey ( ) , program_address ) ? ; self . sign_and_send_instructions ( & [ signer ] , & [ inst ] ) }
Assigns system account to a program
Assigns system account to a program
&self
signer
&dyn Signer
program_address
&Pubkey
&self
signer
&dyn Signer
program_address
&Pubkey