From d0379e94287c9d85da167c3359152260f18edcaf Mon Sep 17 00:00:00 2001 From: Robin Salen Date: Thu, 7 Sep 2023 15:35:34 -0400 Subject: [PATCH] Apply Nick's comment --- evm/src/witness/traces.rs | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/evm/src/witness/traces.rs b/evm/src/witness/traces.rs index c380ec64..2cc1c500 100644 --- a/evm/src/witness/traces.rs +++ b/evm/src/witness/traces.rs @@ -57,19 +57,8 @@ impl Traces { .arithmetic_ops .iter() .map(|op| match op { - Operation::TernaryOperation { - operator: _, - input0: _, - input1: _, - input2: _, - result: _, - } => 2, - Operation::BinaryOperation { - operator, - input0: _, - input1: _, - result: _, - } => match operator { + Operation::TernaryOperation { .. } => 2, + Operation::BinaryOperation { operator, .. } => match operator { BinaryOperator::Div | BinaryOperator::Mod => 2, _ => 1, },