pub fn verify_refs(&self) -> bool {
        let message = self.message();
        for instruction in &message.instructions {
            if (instruction.program_ids_index as usize) >= message.account_keys.len() {
                return false;
            }
            for account_index in &instruction.accounts {
                if (*account_index as usize) >= message.account_keys.len() {
                    return false;
                }
            }
        }
        true
    }
/// Verify that references in the instructions are valid
Verify that references in the instructions are valid
Verify that references in the instructions are valid
pub fn verify_refs(&self) -> bool {
        let message = self.message();
        for instruction in &message.instructions {
            if (instruction.program_ids_index as usize) >= message.account_keys.len() {
                return false;
            }
            for account_index in &instruction.accounts {
                if (*account_index as usize) >= message.account_keys.len() {
                    return false;
                }
            }
        }
        true
    }
pub fn verify_refs ( & self ) -> bool { let message = self . message ( ) ; for instruction in & message . instructions { if ( instruction . program_ids_index as usize ) >= message . account_keys . len ( ) { return false ; } for account_index in & instruction . accounts { if ( * account_index as usize ) >= message . account_keys . len ( ) { return false ; } } } true }
Verify that references in the instructions are valid
Verify that references in the instructions are valid
&self
&self