Skip to content

Commit

Permalink
fix: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
refcell committed Oct 19, 2024
1 parent 01db958 commit 8f944b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/eips/src/eip4844/sidecar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,10 @@ impl BlobTransactionSidecarItem {
}

/// Verify the blob sidecar against its [IndexedBlobHash].
pub fn verify_blob(&self, hash: &IndexedBlobHash) -> Result<(), BlobTransactionValidationError> {
pub fn verify_blob(
&self,
hash: &IndexedBlobHash,
) -> Result<(), BlobTransactionValidationError> {
if self.index != hash.index {
let blob_hash_part = B256::from_slice(&self.blob[0..32]);
return Err(BlobTransactionValidationError::WrongVersionedHash {
Expand Down

0 comments on commit 8f944b6

Please sign in to comment.