diff --git a/bolt-sidecar/src/builder/template.rs b/bolt-sidecar/src/builder/template.rs index 1a052b0fb..85424395e 100644 --- a/bolt-sidecar/src/builder/template.rs +++ b/bolt-sidecar/src/builder/template.rs @@ -115,7 +115,7 @@ impl BlockTemplate { .message .constraints .iter() - .fold(0, |acc, c| acc + &c.transaction.gas_limit()) + .fold(0, |acc, c| acc + c.transaction.gas_limit()) }) }