From 26ed020d2d158f77d515842517ef0ce8d72dfe61 Mon Sep 17 00:00:00 2001 From: Justin Florentine Date: Thu, 9 Nov 2023 12:53:57 -0500 Subject: [PATCH] Update datatypes/src/main/java/org/hyperledger/besu/datatypes/BlobsWithCommitments.java Co-authored-by: Fabio Di Fabio Signed-off-by: Justin Florentine --- .../org/hyperledger/besu/datatypes/BlobsWithCommitments.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datatypes/src/main/java/org/hyperledger/besu/datatypes/BlobsWithCommitments.java b/datatypes/src/main/java/org/hyperledger/besu/datatypes/BlobsWithCommitments.java index 9c1f5eb8784..9ce3b12e59a 100644 --- a/datatypes/src/main/java/org/hyperledger/besu/datatypes/BlobsWithCommitments.java +++ b/datatypes/src/main/java/org/hyperledger/besu/datatypes/BlobsWithCommitments.java @@ -68,7 +68,7 @@ public BlobsWithCommitments( throw new InvalidParameterException( "There must be an equal number of blobs, commitments, proofs, and versioned hashes"); } - ArrayList toBuild = new ArrayList<>(); + List toBuild = new ArrayList<>(blobs.size()); for (int i = 0; i < blobs.size(); i++) { toBuild.add( new BlobQuad(