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

This commit is contained in:
Pawel Cioch
2019-04-16 23:17:16 -05:00
parent 30d6779baa
commit bf13c95fb0
3 changed files with 41 additions and 2 deletions

View File

@@ -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);
});