Fix clippy complaints

This commit is contained in:
Mark Mackey
2022-12-28 14:46:53 -06:00
parent c188cde034
commit 986ae4360a
2 changed files with 2 additions and 4 deletions

View File

@@ -109,7 +109,7 @@ fn tx_peek_blob_versioned_hashes<T: EthSpec>(
.get(next_version_hash_index..next_version_hash_index.safe_add(32)?)
.ok_or(BlockProcessingError::BlobVersionHashIndexOutOfBounds {
length: tx_len,
index: (next_version_hash_index as usize).safe_add(32)?,
index: (next_version_hash_index).safe_add(32)?,
})?;
Ok(VersionedHash::from_slice(bytes))
}))