Cleanup new_result_with_negative_lamports (#8286)
This commit is contained in:
parent
17fb8258e5
commit
a0bcbf70d5
|
@ -98,7 +98,7 @@ pub enum InstructionError {
|
|||
|
||||
impl InstructionError {
|
||||
pub fn new_result_with_negative_lamports() -> Self {
|
||||
InstructionError::CustomError(SystemError::ResultWithNegativeLamports as u32)
|
||||
SystemError::ResultWithNegativeLamports.into()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue