fn is_not_trading(ixs: &UncheckedAccount) -> Result<()> {
    let data = ixs.try_borrow_data()?;
    match tx_instructions::load_instruction_at(1, &data) {
        Ok(_) => Err(ErrorCode::TooManyInstructions.into()),
        Err(_) => Ok(()),
    }
}
// `ixs` must be the Instructions sysvar.
`ixs` must be the Instructions sysvar.
` ixs ` must be the Instructions sysvar .
fn is_not_trading(ixs: &UncheckedAccount) -> Result<()> {
    let data = ixs.try_borrow_data()?;
    match tx_instructions::load_instruction_at(1, &data) {
        Ok(_) => Err(ErrorCode::TooManyInstructions.into()),
        Err(_) => Ok(()),
    }
}
fn is_not_trading ( ixs : & UncheckedAccount ) -> Result < ( ) > { let data = ixs . try_borrow_data ( ) ? ; match tx_instructions :: load_instruction_at ( 1 , & data ) { Ok ( _ ) => Err ( ErrorCode :: TooManyInstructions . into ( ) ) , Err ( _ ) => Ok ( ( ) ) , } }
`ixs` must be the Instructions sysvar.
` ixs ` must be the Instructions sysvar .
ixs
&UncheckedAccount
ixs
&UncheckedAccount