mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 09:47:35 +00:00
Merge pull request #372 from cake-tech/CW-77-Add-more-addresses-for-haven-validation
added validation of hvx,hvi,hvs Haven addresses
This commit is contained in:
commit
427efb44fa
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