diff --git a/app/build.gradle b/app/build.gradle index 9df173236..b6394ec26 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -134,8 +134,8 @@ dependencies { implementation fileTree(include: ['*.jar'], dir: "${rootProject.rootDir}/libs/koin-android") implementation fileTree(include: ['*.aar'], dir: "${rootProject.rootDir}/libs/koin-android") -// implementation "cash.z.ecc.android:kotlin-bip39:1.0.4" - implementation fileTree(include: ['kotlin-bip39-jvm-1.0.4.jar'], dir: "${rootProject.rootDir}/libs") +// implementation "cash.z.ecc.android:kotlin-bip39:1.0.6" + implementation fileTree(include: ['kotlin-bip39-jvm-1.0.6.jar'], dir: "${rootProject.rootDir}/libs") /** * Test Dependencies (do not concern the AOSP build) @@ -153,7 +153,7 @@ dependencies { testImplementation "org.junit.jupiter:junit-jupiter-api:$junit5_version" testImplementation "org.junit.jupiter:junit-jupiter-params:$junit5_version" testImplementation "io.mockk:mockk:$mockk_version" - testImplementation 'org.bitcoinj:bitcoinj-core:0.15.10' + testImplementation 'org.bitcoinj:bitcoinj-core:0.16.2' testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junit5_version" testRuntimeOnly "org.junit.vintage:junit-vintage-engine:$junit5_version" diff --git a/app/src/test/java/com/stevesoltys/seedvault/crypto/WordListTest.kt b/app/src/test/java/com/stevesoltys/seedvault/crypto/WordListTest.kt index 3e54e42e0..c9942c10a 100644 --- a/app/src/test/java/com/stevesoltys/seedvault/crypto/WordListTest.kt +++ b/app/src/test/java/com/stevesoltys/seedvault/crypto/WordListTest.kt @@ -2066,7 +2066,7 @@ class WordListTest { @Test fun `word list of library did not change`() { - val libWords = WordList().words + val libWords = Mnemonics.getCachedWords("en") for (i in words.indices) { assertEquals(words[i], libWords[i]) } diff --git a/libs/Android.bp b/libs/Android.bp index 15a9fcf2e..f20ae3810 100644 --- a/libs/Android.bp +++ b/libs/Android.bp @@ -1,5 +1,5 @@ java_import { name: "seedvault-lib-kotlin-bip39", - jars: ["kotlin-bip39-jvm-1.0.4.jar"], + jars: ["kotlin-bip39-jvm-1.0.6.jar"], sdk_version: "current", } diff --git a/libs/kotlin-bip39-jvm-1.0.4.jar b/libs/kotlin-bip39-jvm-1.0.4.jar deleted file mode 100644 index 55ff7745f..000000000 Binary files a/libs/kotlin-bip39-jvm-1.0.4.jar and /dev/null differ diff --git a/libs/kotlin-bip39-jvm-1.0.6.jar b/libs/kotlin-bip39-jvm-1.0.6.jar new file mode 100644 index 000000000..faeabc19a Binary files /dev/null and b/libs/kotlin-bip39-jvm-1.0.6.jar differ