From db1ccf6a6e7fe521880d2a6e505e82d888a5938e Mon Sep 17 00:00:00 2001 From: nicolas <48695862+merklefruit@users.noreply.github.com> Date: Mon, 22 Jul 2024 10:18:40 +0200 Subject: [PATCH] chore: fix clippy lint --- bolt-sidecar/src/builder/template.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) }) }