diff --git a/test/wallet_address_validator.js b/test/wallet_address_validator.js index c18517fd..3e30ce6b 100644 --- a/test/wallet_address_validator.js +++ b/test/wallet_address_validator.js @@ -127,8 +127,12 @@ describe('WAValidator.validate()', function () { valid('2MxKEf2su6FGAUfCEAHreGFQvEYrfZDahUf', 'groestlcoin', 'testnet'); // segwit addresses - valid('grs1q49qls5kklryt95g5xx4p6msycpgjp8ramfc9jq', 'groestlcoin'); - valid('tgrs1qgjd3qhncsxdyh5gt7hz4k6zzvfguslwxwgv23j', 'groestlcoin'); + valid('grs1q49qls5kklryt95g5xx4p6msycpgjp8ramfc9jq', 'grs'); + valid('grs1qnxt8adg4qk3ljl0qhvp4m0nt56w6ma77vwr2jq', 'grs'); + valid('tgrs1qw4z3xrtgx4f6w7akwpp2xa0gupmkv4yauemmm9', 'grs', 'testnet'); + + invalid("grs1q49qls5kklryt95g5xq4p6msycpgjp8ramfc9jq", 'grs'), + invalid("tgrs1qqjd3qhncsxdyh5gt7hz4k6zzvfguslwxwgv23j", 'grs') }); it('should return true for correct peercoin addresses', function () { @@ -1523,5 +1527,3 @@ describe('invalid results', function () { }); - -