We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5124e4c + 85d82da commit 967ea8cCopy full SHA for 967ea8c
web3swift/KeystoreManager/Classes/BIP39.swift
@@ -106,7 +106,7 @@ public class BIP39 {
106
}
107
108
static public func seedFromMmemonics(_ mnemonics: String, password: String = "", language: BIP39Language = BIP39Language.english) -> Data? {
109
- let valid = BIP39.mnemonicsToEntropy(mnemonics) != nil
+ let valid = BIP39.mnemonicsToEntropy(mnemonics, language: language) != nil
110
if (!valid) {
111
print("Potentially invalid mnemonics")
112
0 commit comments