pub fn decode_instruction(
input: &[u8],
) -> Result<(DefaultAccountStateInstruction, AccountState), ProgramError>
Expand description
Utility function for decoding a DefaultAccountState
instruction and its
data
pub fn decode_instruction(
input: &[u8],
) -> Result<(DefaultAccountStateInstruction, AccountState), ProgramError>
Utility function for decoding a DefaultAccountState
instruction and its
data