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 a8c2e0e commit bc89c51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ public synchronized boolean containsBlobSidecar(final BlobIdentifier blobIdentif
}

@Override
public 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 bc89c51

Please sign in to comment.