diff --git a/src/main/java/com/sparrowwallet/sparrow/net/Bwt.java b/src/main/java/com/sparrowwallet/sparrow/net/Bwt.java index d0905081..0725a14e 100644 --- a/src/main/java/com/sparrowwallet/sparrow/net/Bwt.java +++ b/src/main/java/com/sparrowwallet/sparrow/net/Bwt.java @@ -51,6 +51,8 @@ public class Bwt { NativeUtils.loadLibraryFromJar("/native/osx/x64/libbwt_jni.dylib"); } else if(platform == org.controlsfx.tools.Platform.WINDOWS) { NativeUtils.loadLibraryFromJar("/native/windows/x64/bwt_jni.dll"); + } else if(osArch.equals("aarch64")) { + NativeUtils.loadLibraryFromJar("/native/linux/aarch64/libbwt_jni.so"); } else { NativeUtils.loadLibraryFromJar("/native/linux/x64/libbwt_jni.so"); } diff --git a/src/main/resources/native/linux/aarch64/libbwt_jni.so b/src/main/resources/native/linux/aarch64/libbwt_jni.so new file mode 100755 index 00000000..17108b88 Binary files /dev/null and b/src/main/resources/native/linux/aarch64/libbwt_jni.so differ