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.
1 parent 4e55b79 commit 85d82daCopy full SHA for 85d82da
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