mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 09:47:35 +00:00
added validation of hvx,hvi,hvs Haven addresses
This commit is contained in:
parent
b58b0002b0
commit
4e4c19d3e3
1 changed files with 1 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue