Skip to content

Commit

Permalink
missing-synchronized
Browse files Browse the repository at this point in the history
  • Loading branch information
tbenr committed Dec 6, 2024
1 parent bc89c51 commit 96c2582
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,8 @@ public synchronized boolean containsBlobSidecar(final BlobIdentifier blobIdentif
}

@Override
public synchronized Optional<BlobSidecar> getBlobSidecar(final Bytes32 blockRoot, final UInt64 index) {
public synchronized Optional<BlobSidecar> getBlobSidecar(
final Bytes32 blockRoot, final UInt64 index) {
return Optional.ofNullable(blockBlobSidecarsTrackers.get(blockRoot))
.flatMap(tracker -> tracker.getBlobSidecar(index));
}
Expand Down

0 comments on commit 96c2582

Please sign in to comment.