pub fn sync_token_balance(
        &self,
        signer: &dyn Signer,
        token_name: &str,
    ) -> Result<Signature, FarmClientError> {
        let inst = self.new_instruction_sync_token_balance(&signer.pubkey(), token_name)?;
        self.sign_and_send_instructions(&[signer], &[inst])
    }
/// Updates token balance of the account, usefull after transfer SOL to WSOL account
Updates token balance of the account, usefull after transfer SOL to WSOL account
Updates token balance of the account usefull after transfer SOL to WSOL account
pub fn sync_token_balance(
        &self,
        signer: &dyn Signer,
        token_name: &str,
    ) -> Result<Signature, FarmClientError> {
        let inst = self.new_instruction_sync_token_balance(&signer.pubkey(), token_name)?;
        self.sign_and_send_instructions(&[signer], &[inst])
    }
pub fn sync_token_balance ( & self , signer : & dyn Signer , token_name : & str , ) -> Result < Signature , FarmClientError > { let inst = self . new_instruction_sync_token_balance ( & signer . pubkey ( ) , token_name ) ? ; self . sign_and_send_instructions ( & [ signer ] , & [ inst ] ) }
Updates token balance of the account, usefull after transfer SOL to WSOL account
Updates token balance of the account usefull after transfer SOL to WSOL account
&self
signer
&dyn Signer
token_name
&str
&self
signer
&dyn Signer
token_name
&str