@ -13,5 +13,5 @@ fn process_instruction(
|
||||
_keyed_accounts: &[KeyedAccount],
|
||||
_data: &[u8],
|
||||
) -> Result<(), InstructionError> {
|
||||
Err(InstructionError::GenericError)
|
||||
Err(InstructionError::CustomError(0))
|
||||
}
|
||||
|
@ -23,6 +23,6 @@ fn test_program_native_failure() {
|
||||
.send_instruction(&alice_keypair, instruction)
|
||||
.unwrap_err()
|
||||
.unwrap(),
|
||||
TransactionError::InstructionError(0, InstructionError::GenericError)
|
||||
TransactionError::InstructionError(0, InstructionError::CustomError(0))
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user