Skip to content

Commit

Permalink
bug: correct is_create condition (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
onbjerg committed Jan 16, 2024
1 parent 87de288 commit ccc6c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rpc-trace-types/src/parity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ impl Action {

/// Returns true if this is a create action
pub const fn is_create(&self) -> bool {
matches!(self, Action::Call(_))
matches!(self, Action::Create(_))
}

/// Returns true if this is a selfdestruct action
Expand Down

0 comments on commit ccc6c93

Please sign in to comment.