Rename IOError to BorshIoError

This commit is contained in:
Michael Vines
2021-02-19 08:53:13 -08:00
parent 0c55add96b
commit 5216f51ff2
7 changed files with 17 additions and 15 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,
}
}