From 6118e78e00fa5061c81159aa783d5264a93f059a Mon Sep 17 00:00:00 2001 From: Stefan Bratanov Date: Mon, 23 Oct 2023 17:11:27 +0100 Subject: [PATCH] make synchronized --- .../src/main/java/tech/pegasys/teku/kzg/ckzg4844/CKZG4844.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/kzg/src/main/java/tech/pegasys/teku/kzg/ckzg4844/CKZG4844.java b/infrastructure/kzg/src/main/java/tech/pegasys/teku/kzg/ckzg4844/CKZG4844.java index fcc30ed704d..51d430e03c4 100644 --- a/infrastructure/kzg/src/main/java/tech/pegasys/teku/kzg/ckzg4844/CKZG4844.java +++ b/infrastructure/kzg/src/main/java/tech/pegasys/teku/kzg/ckzg4844/CKZG4844.java @@ -87,7 +87,7 @@ public synchronized void loadTrustedSetup(final String trustedSetupFile) throws } @Override - public void freeTrustedSetup() throws KZGException { + public synchronized void freeTrustedSetup() throws KZGException { try { CKZG4844JNI.freeTrustedSetup(); loadedTrustedSetupFile = Optional.empty();