pub fn prepend_compute_unit_ix(
instructions: Vec<Instruction>,
client: &RpcClient,
priority_fee: Option<u64>,
write_locked_accounts: &[Pubkey],
) -> Vec<Instruction>Expand description
Prepend a compute unit ix, if the priority fee is greater than 0.