aboutsummaryrefslogtreecommitdiff
path: root/tests.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests.js')
-rw-r--r--tests.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests.js b/tests.js
index 33477ac..9abe573 100644
--- a/tests.js
+++ b/tests.js
@@ -2696,15 +2696,15 @@ page.open(url, function(status) {
2696}); 2696});
2697}, 2697},
2698 2698
2699// Entropy is truncated from the right 2699// Entropy is truncated from the left
2700function() { 2700function() {
2701page.open(url, function(status) { 2701page.open(url, function(status) {
2702 var expected = "abandon abandon ability"; 2702 var expected = "avocado zoo zone";
2703 // use entropy 2703 // use entropy
2704 page.evaluate(function() { 2704 page.evaluate(function() {
2705 $(".use-entropy").prop("checked", true).trigger("change"); 2705 $(".use-entropy").prop("checked", true).trigger("change");
2706 var entropy = "00000000 00000000 00000000 00000000"; 2706 var entropy = "00000000 00000000 00000000 00000000";
2707 entropy += "11111111 11111111 11111111 1111"; // Missing last byte, only first 8 bytes are used 2707 entropy += "11111111 11111111 11111111 1111"; // Missing last byte
2708 $(".entropy").val(entropy).trigger("input"); 2708 $(".entropy").val(entropy).trigger("input");
2709 }); 2709 });
2710 // check the entropy is truncated from the right 2710 // check the entropy is truncated from the right
@@ -2755,8 +2755,6 @@ page.open(url, function(status) {
2755// https://bip32jp.github.io/english/index.html 2755// https://bip32jp.github.io/english/index.html
2756// NOTES: 2756// NOTES:
2757// Is incompatible with: 2757// Is incompatible with:
2758// base 6 with leading zeros
2759// base 6 wth 12 words / 53 chars
2760// base 20 2758// base 20
2761function() { 2759function() {
2762page.open(url, function(status) { 2760page.open(url, function(status) {