From bf13c95fb0a800b8d40b2c8ee0826a49b17ccd7d Mon Sep 17 00:00:00 2001 From: Pawel Cioch Date: Tue, 16 Apr 2019 23:17:16 -0500 Subject: 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 --- tests/spec/tests.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'tests') 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 @@ -472,10 +472,17 @@ it('Allows selection of clam', function(done) { }; testNetwork(done, params); }); +it('Allows selection of crown', function(done) { + var params = { + selectText: "CRW - Crown (Legacy)", + firstAddress: "18pWSwSUAQdiwMHUfFZB1fM2xue9X1FqE5", + }; + testNetwork(done, params); +}); it('Allows selection of crown', function(done) { var params = { selectText: "CRW - Crown", - firstAddress: "18pWSwSUAQdiwMHUfFZB1fM2xue9X1FqE5", + firstAddress: "CRWKnVmVhvH1KWTYe6sq8xV4dFGcFpBEEkPQ", }; testNetwork(done, params); }); -- cgit v1.2.3