Skip to content

Commit b4af97b

Browse files
authored
Missing synchronized method (#8894)
1 parent a8c2e0e commit b4af97b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/util/BlockBlobSidecarsTrackersPoolImpl.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,8 @@ public synchronized boolean containsBlobSidecar(final BlobIdentifier blobIdentif
407407
}
408408

409409
@Override
410-
public Optional<BlobSidecar> getBlobSidecar(final Bytes32 blockRoot, final UInt64 index) {
410+
public synchronized Optional<BlobSidecar> getBlobSidecar(
411+
final Bytes32 blockRoot, final UInt64 index) {
411412
return Optional.ofNullable(blockBlobSidecarsTrackers.get(blockRoot))
412413
.flatMap(tracker -> tracker.getBlobSidecar(index));
413414
}

0 commit comments

Comments
 (0)