diff --git a/src/index.html b/src/index.html index 8a8bd75..529bccc 100644 --- a/src/index.html +++ b/src/index.html @@ -157,7 +157,7 @@ From entropy length (3 words per 32 bits) 12 Words - 15 Words + 15 Words 18 Words 21 Words 24 Words diff --git a/tests.js b/tests.js index 0ce34bd..b0e7ef8 100644 --- a/tests.js +++ b/tests.js @@ -2237,6 +2237,7 @@ page.open(url, function(status) { // use entropy page.evaluate(function() { $(".use-entropy").prop("checked", true).trigger("change"); + $(".mnemonic-length").val("raw"); $(".entropy").val("00000000 00000000 00000000 00000000").trigger("input"); }); // check the mnemonic is set and address is correct @@ -2858,6 +2859,7 @@ page.open(url, function(status) { // use entropy page.evaluate(function() { $(".use-entropy").prop("checked", true).trigger("change"); + $(".mnemonic-length").val("raw"); }); var nextTest = function runNextTest(i) { function getFeedbackError(expected, actual) { @@ -2934,6 +2936,7 @@ page.open(url, function(status) { // use entropy page.evaluate(function() { $(".use-entropy").prop("checked", true).trigger("change"); + $(".mnemonic-length").val("raw"); var entropy = "00000000 00000000 00000000 00000000"; entropy += "11111111 11111111 11111111 1111"; // Missing last byte $(".entropy").val(entropy).trigger("input"); @@ -2960,6 +2963,7 @@ page.open(url, function(status) { // use entropy page.evaluate(function() { $(".use-entropy").prop("checked", true).trigger("change"); + $(".mnemonic-length").val("raw"); var entropy = ""; // Generate a very long entropy string for (var i=0; i<33; i++) { @@ -2993,6 +2997,7 @@ page.open(url, function(status) { // use entropy page.evaluate(function() { $(".use-entropy").prop("checked", true).trigger("change"); + $(".mnemonic-length").val("raw"); var entropy = "543210543210543210543210543210543210543210543210543210543210543210543210543210543210543210543210543"; $(".entropy").val(entropy).trigger("input"); });