mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00: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