From a38c046b28bc04b990939406db424df86e1ddd51 Mon Sep 17 00:00:00 2001 From: Petar Vujovic Date: Mon, 26 Aug 2024 13:07:50 +0200 Subject: [PATCH] fix(core): fix clippy issue --- core/src/preflight/util.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/preflight/util.rs b/core/src/preflight/util.rs index 331b47a05..203fdd9eb 100644 --- a/core/src/preflight/util.rs +++ b/core/src/preflight/util.rs @@ -396,8 +396,7 @@ fn calc_blob_versioned_hash(blob_str: &str) -> [u8; 32] { &KZG_SETTINGS.clone(), ) .expect("Could not create kzg commitment from blob"); - let version_hash = commitment_to_version_hash(&commitment.to_bytes()).0; - version_hash + commitment_to_version_hash(&commitment.to_bytes()).0 } async fn get_blob_data(beacon_rpc_url: &str, block_id: u64, blob_hash: B256) -> Result> {