call_preflight_interface_function

Function call_preflight_interface_function 

Source
pub fn call_preflight_interface_function<'info, T: ToAccountInfos<'info> + ToAccountMetas>(
    function_name: String,
    ctx: &CpiContext<'_, '_, '_, 'info, T>,
    args: &[u8],
) -> Result<()>
Expand description

This calls the preflight function on the target program (defined on the ctx)