pub fn finalize_push_data(
instruction_data: &[u8],
) -> Result<(&[u8], &[[u8; 8]]), ProgramError>Expand description
The per-push data — each push’s source-buffer bump and the little-endian
amount it pays, as parallel slices of equal length in push order — carried
by a FinalizeSettle instruction and recovered from its full instruction
data alone (discriminator included, as returned by instruction
introspection).
This function doesn’t otherwise check that the instruction is consistent
with a FinalizeSettle instruction. For example, the discriminator field is
ignored.