diff options
author | Ian Coleman <ian@iancoleman.io> | 2017-11-22 09:59:58 +1100 |
---|---|---|
committer | Ian Coleman <ian@iancoleman.io> | 2017-11-22 09:59:58 +1100 |
commit | 0fd67b5915a08168d31caaa581f55cf86591be73 (patch) | |
tree | 886c901959ffc57d42d41d7a7916a4870f0f56bb /tests/spec | |
parent | 1c2b8c6b2d77cdb0162f040c07d25bbe7cafe7c2 (diff) | |
download | BIP39-0fd67b5915a08168d31caaa581f55cf86591be73.tar.gz BIP39-0fd67b5915a08168d31caaa581f55cf86591be73.tar.zst BIP39-0fd67b5915a08168d31caaa581f55cf86591be73.zip |
Remove segwit from bip32 tab
This option will be added in the future to a bip141 tab
Diffstat (limited to 'tests/spec')
-rw-r--r-- | tests/spec/tests.js | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/spec/tests.js b/tests/spec/tests.js index 4f774e8..f3ffbbf 100644 --- a/tests/spec/tests.js +++ b/tests/spec/tests.js | |||
@@ -2504,31 +2504,6 @@ it('Uses ltub by default for litecoin, but can be set to xprv', function(done) { | |||
2504 | }); | 2504 | }); |
2505 | }); | 2505 | }); |
2506 | 2506 | ||
2507 | // BIP32 tab can use P2WPKH Nested In P2SH | ||
2508 | // github issue 91 part 2 | ||
2509 | // https://github.com/iancoleman/bip39/issues/91 | ||
2510 | // generate new addresses from xpub? | ||
2511 | it('Uses xprv by default for litecoin, but can be set to ltpv', function(done) { | ||
2512 | // use p2wpkh addresses | ||
2513 | driver.executeScript(function() { | ||
2514 | $(".p2wpkh-nested-in-p2sh").prop("checked", true); | ||
2515 | }); | ||
2516 | // use bip32 tab | ||
2517 | driver.findElement(By.css('#bip32-tab a')) | ||
2518 | .click() | ||
2519 | // use testnet | ||
2520 | selectNetwork("BTC - Bitcoin Testnet"); | ||
2521 | // Set root xpub to BIP49 official test vector account 0 | ||
2522 | driver.findElement(By.css('.root-key')) | ||
2523 | .sendKeys("tpubDD7tXK8KeQ3YY83yWq755fHY2JW8Ha8Q765tknUM5rSvjPcGWfUppDFMpQ1ScziKfW3ZNtZvAD7M3u7bSs7HofjTD3KP3YxPK7X6hwV8Rk2"); | ||
2524 | driver.sleep(generateDelay).then(function() { | ||
2525 | getFirstAddress(function(address) { | ||
2526 | expect(address).toBe("2Mww8dCYPUpKHofjgcXcBCEGmniw9CoaiD2"); | ||
2527 | done(); | ||
2528 | }); | ||
2529 | }); | ||
2530 | }); | ||
2531 | |||
2532 | // github issue 99 | 2507 | // github issue 99 |
2533 | // https://github.com/iancoleman/bip39/issues/99#issuecomment-327094159 | 2508 | // https://github.com/iancoleman/bip39/issues/99#issuecomment-327094159 |
2534 | // "warn me emphatically when they have detected invalid input" to the entropy field | 2509 | // "warn me emphatically when they have detected invalid input" to the entropy field |