From 96c2582cc5a4b6e9da468b7cc1440a7383abc8df Mon Sep 17 00:00:00 2001 From: Enrico Del Fante Date: Fri, 6 Dec 2024 11:47:05 +0100 Subject: [PATCH] missing-synchronized --- .../util/BlockBlobSidecarsTrackersPoolImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/util/BlockBlobSidecarsTrackersPoolImpl.java b/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/util/BlockBlobSidecarsTrackersPoolImpl.java index 5cbc58b2fda..b63d8894097 100644 --- a/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/util/BlockBlobSidecarsTrackersPoolImpl.java +++ b/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/util/BlockBlobSidecarsTrackersPoolImpl.java @@ -407,7 +407,8 @@ public synchronized boolean containsBlobSidecar(final BlobIdentifier blobIdentif } @Override - public synchronized Optional getBlobSidecar(final Bytes32 blockRoot, final UInt64 index) { + public synchronized Optional getBlobSidecar( + final Bytes32 blockRoot, final UInt64 index) { return Optional.ofNullable(blockBlobSidecarsTrackers.get(blockRoot)) .flatMap(tracker -> tracker.getBlobSidecar(index)); }