diff --git a/src/main/java/com/sparrowwallet/sparrow/net/Bwt.java b/src/main/java/com/sparrowwallet/sparrow/net/Bwt.java index ebd7ce5c..f1ee331b 100644 --- a/src/main/java/com/sparrowwallet/sparrow/net/Bwt.java +++ b/src/main/java/com/sparrowwallet/sparrow/net/Bwt.java @@ -34,9 +34,9 @@ public class Bwt { if(platform == org.controlsfx.tools.Platform.OSX) { NativeUtils.loadLibraryFromJar("/native/osx/x64/libbwt_jni.dylib"); } else if(platform == org.controlsfx.tools.Platform.WINDOWS) { - NativeUtils.loadLibraryFromJar("/native/windows/x64/bwt.dll"); + NativeUtils.loadLibraryFromJar("/native/windows/x64/bwt_jni.dll"); } else { - NativeUtils.loadLibraryFromJar("/native/linux/x64/libbwt.so"); + NativeUtils.loadLibraryFromJar("/native/linux/x64/libbwt_jni.so"); } } catch(IOException e) { log.error("Error loading bwt library", e); diff --git a/src/main/resources/native/linux/x64/libbwt.so b/src/main/resources/native/linux/x64/libbwt_jni.so similarity index 62% rename from src/main/resources/native/linux/x64/libbwt.so rename to src/main/resources/native/linux/x64/libbwt_jni.so index 25be5988..351763d8 100755 Binary files a/src/main/resources/native/linux/x64/libbwt.so and b/src/main/resources/native/linux/x64/libbwt_jni.so differ diff --git a/src/main/resources/native/windows/x64/bwt.dll b/src/main/resources/native/windows/x64/bwt.dll deleted file mode 100755 index 6f52ce7c..00000000 Binary files a/src/main/resources/native/windows/x64/bwt.dll and /dev/null differ diff --git a/src/main/resources/native/windows/x64/bwt_jni.dll b/src/main/resources/native/windows/x64/bwt_jni.dll new file mode 100755 index 00000000..60e6d618 Binary files /dev/null and b/src/main/resources/native/windows/x64/bwt_jni.dll differ