Rename IOError to BorshIoError

This commit is contained in:
Michael Vines
2021-02-19 08:53:13 -08:00
parent 58b35db384
commit 995bd0cb6b
6 changed files with 16 additions and 14 deletions

View File

@ -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,
}
}