Add missing 'fullWordList' function to Mnemonic plugins.
This commit is contained in:
parent
3529fc9fdd
commit
59a2b0d7ea
|
@ -1,2 +1,4 @@
|
||||||
# zcash-android-wallet-plugins
|
# zcash-android-wallet-plugins
|
||||||
|
[![Release](https://jitpack.io/v/zcash/zcash-android-wallet-plugins.svg)](https://jitpack.io/#zcash/zcash-android-wallet-plugins)
|
||||||
|
|
||||||
Generic interfaces for plugging functionality into the wallets
|
Generic interfaces for plugging functionality into the wallets
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
buildscript {
|
buildscript {
|
||||||
ext {
|
ext {
|
||||||
kotlin_version = '1.3.61'
|
kotlin_version = '1.3.72'
|
||||||
}
|
}
|
||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
|
@ -14,7 +14,7 @@ buildscript {
|
||||||
apply plugin: 'java-library'
|
apply plugin: 'java-library'
|
||||||
apply plugin: 'kotlin'
|
apply plugin: 'kotlin'
|
||||||
|
|
||||||
// jitpack
|
// jitpack (note: to change the version, push another release per https://jitpack.io/docs/#publishing-on-jitpack)
|
||||||
apply plugin: 'com.github.dcendents.android-maven'
|
apply plugin: 'com.github.dcendents.android-maven'
|
||||||
group = 'com.github.zcash'
|
group = 'com.github.zcash'
|
||||||
|
|
||||||
|
|
|
@ -41,4 +41,10 @@ interface MnemonicPlugin {
|
||||||
*/
|
*/
|
||||||
fun toWordList(mnemonic: CharArray): List<CharArray>
|
fun toWordList(mnemonic: CharArray): List<CharArray>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Provide the full word list for the given ISO 639-1 language code or throw an exception if
|
||||||
|
* the language is unsupported. Strings are fine here because this information is not sensitive.
|
||||||
|
*/
|
||||||
|
fun fullWordList(languageCode: String): List<String>
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue