- This is an advanced feature.
- Your mnemonic may be insecure if this feature is used incorrectly.
-
Read more
+
+
@@ -16088,7 +16139,7 @@ var Mnemonic = function(language) {
self.check = function(mnemonic) {
var mnemonic = self.splitWords(mnemonic);
- if (mnemonic.length % 3 > 0) {
+ if (mnemonic.length == 0 || mnemonic.length % 3 > 0) {
return false
}
// idx = map(lambda x: bin(self.wordlist.index(x))[2:].zfill(11), mnemonic)
@@ -16212,96 +16263,164 @@ var Mnemonic = function(language) {
}
-
+