Skip to content

Commit d49042f

Browse files
core/txpool: better log
1 parent d746c62 commit d49042f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/txpool/validation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ func validateBlobSidecarOsaka(hashes []common.Hash, sidecar *types.BlobTxSidecar
203203
return fmt.Errorf("invalid number of %d blobs compared to %d blob hashes", len(sidecar.Blobs), len(hashes))
204204
}
205205
if len(sidecar.Proofs) != len(hashes)*kzg4844.CellProofsPerBlob {
206-
return fmt.Errorf("invalid number of %d blob proofs compared to %d blob hashes", len(sidecar.Proofs), len(hashes))
206+
return fmt.Errorf("invalid number of %d blob proofs expected %d", len(sidecar.Proofs), len(hashes)*kzg4844.CellProofsPerBlob)
207207
}
208208
if err := sidecar.ValidateBlobCommitmentHashes(hashes); err != nil {
209209
return err

0 commit comments

Comments
 (0)