diff options
author | Pawel Cioch <pawel@greenhex.net> | 2019-04-16 23:17:16 -0500 |
---|---|---|
committer | Pawel Cioch <pawel@greenhex.net> | 2019-04-16 23:17:16 -0500 |
commit | bf13c95fb0a800b8d40b2c8ee0826a49b17ccd7d (patch) | |
tree | 37ff44938213a0fdc5dab82b0cf036ff73b1ffba /tests | |
parent | 30d6779baae16a8290fea4c2859b98c73b377617 (diff) | |
download | BIP39-bf13c95fb0a800b8d40b2c8ee0826a49b17ccd7d.tar.gz BIP39-bf13c95fb0a800b8d40b2c8ee0826a49b17ccd7d.tar.zst BIP39-bf13c95fb0a800b8d40b2c8ee0826a49b17ccd7d.zip |
new Crown address format. May not be elegant solution, but bitcoinjs has limitation of network prefix length and I don't want to modify it. This approach is isolated and does not affect others
Diffstat (limited to 'tests')
-rw-r--r-- | tests/spec/tests.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/spec/tests.js b/tests/spec/tests.js index d71a61c..a22d749 100644 --- a/tests/spec/tests.js +++ b/tests/spec/tests.js | |||
@@ -474,8 +474,15 @@ it('Allows selection of clam', function(done) { | |||
474 | }); | 474 | }); |
475 | it('Allows selection of crown', function(done) { | 475 | it('Allows selection of crown', function(done) { |
476 | var params = { | 476 | var params = { |
477 | selectText: "CRW - Crown (Legacy)", | ||
478 | firstAddress: "18pWSwSUAQdiwMHUfFZB1fM2xue9X1FqE5", | ||
479 | }; | ||
480 | testNetwork(done, params); | ||
481 | }); | ||
482 | it('Allows selection of crown', function(done) { | ||
483 | var params = { | ||
477 | selectText: "CRW - Crown", | 484 | selectText: "CRW - Crown", |
478 | firstAddress: "18pWSwSUAQdiwMHUfFZB1fM2xue9X1FqE5", | 485 | firstAddress: "CRWKnVmVhvH1KWTYe6sq8xV4dFGcFpBEEkPQ", |
479 | }; | 486 | }; |
480 | testNetwork(done, params); | 487 | testNetwork(done, params); |
481 | }); | 488 | }); |