pub fn confirm_async_transaction(&self, signature: &Signature) -> Result<(), FarmClientError> {
        let recent_blockhash = self.rpc_client.get_latest_blockhash()?;
        self.rpc_client
            .confirm_transaction_with_spinner(
                signature,
                &recent_blockhash,
                CommitmentConfig::finalized(),
            )
            .map_err(Into::into)
    }
/// Wait for the transaction to become finalized
Wait for the transaction to become finalized
Wait for the transaction to become finalized
pub fn confirm_async_transaction(&self, signature: &Signature) -> Result<(), FarmClientError> {
        let recent_blockhash = self.rpc_client.get_latest_blockhash()?;
        self.rpc_client
            .confirm_transaction_with_spinner(
                signature,
                &recent_blockhash,
                CommitmentConfig::finalized(),
            )
            .map_err(Into::into)
    }
pub fn confirm_async_transaction ( & self , signature : & Signature ) -> Result < ( ) , FarmClientError > { let recent_blockhash = self . rpc_client . get_latest_blockhash ( ) ? ; self . rpc_client . confirm_transaction_with_spinner ( signature , & recent_blockhash , CommitmentConfig :: finalized ( ) , ) . map_err ( Into :: into ) }
Wait for the transaction to become finalized
Wait for the transaction to become finalized
&self
signature
&Signature
&self
signature
&Signature