added validation of hvx,hvi,hvs Haven addresses

This commit is contained in:
Serhii-Borodenko 2022-06-01 14:12:09 +03:00
parent b58b0002b0
commit 4e4c19d3e3

View file

@ -47,7 +47,7 @@ class AddressValidator extends TextValidator {
case CryptoCurrency.xrp:
return '^[0-9a-zA-Z]{34}\$|^X[0-9a-zA-Z]{46}\$';
case CryptoCurrency.xhv:
case CryptoCurrency.xhv:
return '^hvx|hvi|hvs[0-9a-zA-Z]';
case CryptoCurrency.xag:
case CryptoCurrency.xau:
case CryptoCurrency.xaud:
@ -102,7 +102,6 @@ class AddressValidator extends TextValidator {
case CryptoCurrency.xrp:
return null;
case CryptoCurrency.xhv:
case CryptoCurrency.xhv:
case CryptoCurrency.xag:
case CryptoCurrency.xau:
case CryptoCurrency.xaud: