don't print

This commit is contained in:
Stefan Bratanov 2022-11-24 19:33:31 +00:00
parent 9b09d6c966
commit 20bbd3c5fb
2 changed files with 2 additions and 5 deletions

View File

@ -66,8 +66,6 @@ JNIEXPORT void JNICALL Java_CKzg4844JNI_loadTrustedSetup(JNIEnv *env, jclass thi
fclose(f);
printf("Loaded Trusted Setup from %s\n", file_native);
(*env)->ReleaseStringUTFChars(env, file, file_native);
}
@ -79,7 +77,6 @@ JNIEXPORT void JNICALL Java_CKzg4844JNI_freeTrustedSetup(JNIEnv *env, jclass thi
}
free_trusted_setup(settings);
reset_trusted_setup();
printf("Trusted Setup was freed\n");
}
JNIEXPORT jbyteArray JNICALL Java_CKzg4844JNI_computeAggregateKzgProof(JNIEnv *env, jclass thisCls, jbyteArray blobs, jlong count)

View File

@ -6,8 +6,8 @@ import java.nio.file.StandardCopyOption;
public class CKzg4844JNI {
private final static String LIBRARY_NAME = "ckzg4844jni";
private final static String PLATFORM_NATIVE_LIBRARY_NAME = System.mapLibraryName(LIBRARY_NAME);
private static final String LIBRARY_NAME = "ckzg4844jni";
private static final String PLATFORM_NATIVE_LIBRARY_NAME = System.mapLibraryName(LIBRARY_NAME);
static {
InputStream libraryResource = CKzg4844JNI.class.getResourceAsStream(