Skip to content

Commit

Permalink
Missing synchronized method (#8894)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbenr authored Dec 6, 2024
1 parent a8c2e0e commit b4af97b
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 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 b4af97b

Please sign in to comment.