Rename IOError to BorshIoError
This commit is contained in:
@ -114,6 +114,6 @@ pub enum InstructionErrorType {
|
||||
ProgramFailedToCompile = 41,
|
||||
Immutable = 42,
|
||||
IncorrectAuthority = 43,
|
||||
IOError = 44,
|
||||
BorshIoError = 44,
|
||||
AccountNotRentExempt = 45,
|
||||
}
|
||||
|
@ -700,8 +700,8 @@ impl From<TransactionError> for tx_by_addr::TransactionError {
|
||||
InstructionError::IncorrectAuthority => {
|
||||
tx_by_addr::InstructionErrorType::IncorrectAuthority
|
||||
}
|
||||
InstructionError::IOError(_) => {
|
||||
tx_by_addr::InstructionErrorType::IOError
|
||||
InstructionError::BorshIoError(_) => {
|
||||
tx_by_addr::InstructionErrorType::BorshIoError
|
||||
}
|
||||
InstructionError::AccountNotRentExempt => {
|
||||
tx_by_addr::InstructionErrorType::AccountNotRentExempt
|
||||
|
@ -93,6 +93,8 @@ enum InstructionErrorType {
|
||||
PROGRAM_FAILED_TO_COMPILE = 41;
|
||||
IMMUTABLE = 42;
|
||||
INCORRECT_AUTHORITY = 43;
|
||||
BORSH_IO_ERROR = 44;
|
||||
ACCOUNT_NOT_RENT_EXEMPT = 45;
|
||||
}
|
||||
|
||||
message UnixTimestamp {
|
||||
|
Reference in New Issue
Block a user