Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
divagant-martian committed Mar 2, 2023
1 parent 6ca6950 commit 192ff8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beacon_node/beacon_chain/src/kzg_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ pub fn validate_blobs_sidecar<T: EthSpec>(

let blobs = blobs_sidecar
.blobs
.clone()
.clone() // TODO(pawan): avoid this clone
.into_iter()
.map(|blob| ssz_blob_to_crypto_blob::<T>(blob.clone())) // TODO(pawan): avoid this clone
.map(|blob| ssz_blob_to_crypto_blob::<T>(blob))
.collect::<Vec<_>>();

kzg.verify_aggregate_kzg_proof(
Expand Down

0 comments on commit 192ff8e

Please sign in to comment.