Rename IOError to BorshIoError
This commit is contained in:
@ -72,7 +72,7 @@ pub fn to_instruction_error(error: ProgramError) -> InstructionError {
|
||||
ProgramError::AccountBorrowFailed => InstructionError::AccountBorrowFailed,
|
||||
ProgramError::MaxSeedLengthExceeded => InstructionError::MaxSeedLengthExceeded,
|
||||
ProgramError::InvalidSeeds => InstructionError::InvalidSeeds,
|
||||
ProgramError::IOError(err) => InstructionError::IOError(err),
|
||||
ProgramError::BorshIoError(err) => InstructionError::BorshIoError(err),
|
||||
ProgramError::AccountNotRentExempt => InstructionError::AccountNotRentExempt,
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user