Skip to content

Commit

Permalink
fix(core): fix clippy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
petarvujovic98 committed Aug 26, 2024
1 parent 2900cfb commit a38c046
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/src/preflight/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Vec<u8>> {
Expand Down

0 comments on commit a38c046

Please sign in to comment.