diff options
author | Ian Coleman <ian@iancoleman.io> | 2019-12-18 09:07:17 +1100 |
---|---|---|
committer | Ian Coleman <ian@iancoleman.io> | 2019-12-18 09:07:17 +1100 |
commit | 244c76022af53c1f5b337a5a2cdb70358cf85e19 (patch) | |
tree | 160e7ac0b4235b81c4ffb237af0ce15971f466b6 /tests | |
parent | 516c16d721db88b4b2c39964e2d5e8f6310c7bff (diff) | |
download | BIP39-244c76022af53c1f5b337a5a2cdb70358cf85e19.tar.gz BIP39-244c76022af53c1f5b337a5a2cdb70358cf85e19.tar.zst BIP39-244c76022af53c1f5b337a5a2cdb70358cf85e19.zip |
Convert mnemonic to hex entropy instead of binary
Diffstat (limited to 'tests')
-rw-r--r-- | tests/spec/tests.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/spec/tests.js b/tests/spec/tests.js index bdc5909..fefb8b7 100644 --- a/tests/spec/tests.js +++ b/tests/spec/tests.js | |||
@@ -4243,7 +4243,7 @@ it('Converts mnemonics into raw entropy', function(done) { | |||
4243 | driver.findElement(By.css('.entropy')) | 4243 | driver.findElement(By.css('.entropy')) |
4244 | .getAttribute("value") | 4244 | .getAttribute("value") |
4245 | .then(function(entropy) { | 4245 | .then(function(entropy) { |
4246 | expect(entropy).toBe("00000000000000000000000000000001"); | 4246 | expect(entropy).toBe("00000001"); |
4247 | driver.findElement(By.css('.phrase')) | 4247 | driver.findElement(By.css('.phrase')) |
4248 | .getAttribute("value") | 4248 | .getAttribute("value") |
4249 | .then(function(phrase) { | 4249 | .then(function(phrase) { |