mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-29 00:58:11 -05:00
fix: invert is error check (#5657)
This commit is contained in:
@@ -61,7 +61,7 @@ impl CallTrace {
|
||||
/// Returns true if the status code is an error or revert, See [InstructionResult::Revert]
|
||||
#[inline]
|
||||
pub fn is_error(&self) -> bool {
|
||||
self.status.is_error()
|
||||
!self.status.is_ok()
|
||||
}
|
||||
|
||||
/// Returns true if the status code is a revert
|
||||
|
||||
Reference in New Issue
Block a user