aboutsummaryrefslogtreecommitdiff
path: root/tests/spec
diff options
context:
space:
mode:
authorPawel Cioch <pawel@greenhex.net>2019-04-16 23:17:16 -0500
committerPawel Cioch <pawel@greenhex.net>2019-04-16 23:17:16 -0500
commitbf13c95fb0a800b8d40b2c8ee0826a49b17ccd7d (patch)
tree37ff44938213a0fdc5dab82b0cf036ff73b1ffba /tests/spec
parent30d6779baae16a8290fea4c2859b98c73b377617 (diff)
downloadBIP39-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/spec')
-rw-r--r--tests/spec/tests.js9
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});
475it('Allows selection of crown', function(done) { 475it('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});
482it('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});