Skip to content

Commit

Permalink
fix(Interpreter): is_revert should call is_revert (#1007)
Browse files Browse the repository at this point in the history
  • Loading branch information
rakita committed Jan 23, 2024
1 parent dc2a0fc commit 00138a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/interpreter/src/interpreter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ impl InterpreterResult {
/// Returns whether the instruction result is a revert.
#[inline]
pub const fn is_revert(&self) -> bool {
self.result.is_ok()
self.result.is_revert()
}

/// Returns whether the instruction result is an error.
Expand Down

0 comments on commit 00138a5

Please sign in to comment.