Fix build depedencies
This commit is contained in:
@@ -10,7 +10,9 @@ import java.util.*
|
||||
import java.util.Locale.ENGLISH
|
||||
|
||||
class Mnemonics : MnemonicPlugin {
|
||||
/* Build fails for overrides nothing
|
||||
override fun fullWordList(languageCode: String) = Mnemonics.getCachedWords(Locale.ENGLISH.language)
|
||||
*/
|
||||
override fun nextEntropy(): ByteArray = WordCount.COUNT_24.toEntropy()
|
||||
override fun nextMnemonic(): CharArray = MnemonicCode(WordCount.COUNT_24).chars
|
||||
override fun nextMnemonic(entropy: ByteArray): CharArray = MnemonicCode(entropy).chars
|
||||
@@ -22,4 +24,4 @@ class Mnemonics : MnemonicPlugin {
|
||||
fun validate(mnemonic: CharArray) {
|
||||
MnemonicCode(mnemonic).validate()
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user