Convert mnemonic to hex entropy instead of binary

This commit is contained in:
Ian Coleman
2019-12-18 09:07:17 +11:00
parent 516c16d721
commit 244c76022a
2 changed files with 4 additions and 2 deletions

View File

@@ -4243,7 +4243,7 @@ it('Converts mnemonics into raw entropy', function(done) {
driver.findElement(By.css('.entropy'))
.getAttribute("value")
.then(function(entropy) {
expect(entropy).toBe("00000000000000000000000000000001");
expect(entropy).toBe("00000001");
driver.findElement(By.css('.phrase'))
.getAttribute("value")
.then(function(phrase) {