Skip to content

Commit

Permalink
make protected
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Nov 2, 2023
1 parent 1b16cb1 commit 7560a44
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,16 @@ public class AbstractBlobSidecarsValidator {
private static final Logger LOG = LogManager.getLogger();

protected final Peer peer;

private final Spec spec;
private final KZG kzg;
protected final Spec spec;
protected final KZG kzg;

public AbstractBlobSidecarsValidator(final Peer peer, final Spec spec, final KZG kzg) {
this.peer = peer;
this.spec = spec;
this.kzg = kzg;
}

void verifyKzg(final BlobSidecar blobSidecar) {
protected void verifyKzg(final BlobSidecar blobSidecar) {
if (!verifyBlobKzgProof(blobSidecar)) {
throw new BlobSidecarsResponseInvalidResponseException(
peer, BLOB_SIDECAR_KZG_VERIFICATION_FAILED);
Expand Down

0 comments on commit 7560a44

Please sign in to comment.