mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-23 06:38:35 +02:00
CAKE-54 | added usdt erc20 to cryptocurrencies list; added usdt erc20 to currency picker; added usdt erc20 logo to contact list page; added address validator for usdt erc20; reworked currency picker
This commit is contained in:
@@ -38,6 +38,8 @@ class AddressValidator extends TextValidator {
|
||||
return '[0-9a-zA-Z]';
|
||||
case CryptoCurrency.usdt:
|
||||
return '[0-9a-zA-Z]';
|
||||
case CryptoCurrency.usdterc20:
|
||||
return '[0-9a-zA-Z]';
|
||||
case CryptoCurrency.xlm:
|
||||
return '[0-9a-zA-Z]';
|
||||
case CryptoCurrency.xrp:
|
||||
@@ -75,6 +77,8 @@ class AddressValidator extends TextValidator {
|
||||
return [34];
|
||||
case CryptoCurrency.usdt:
|
||||
return [42];
|
||||
case CryptoCurrency.usdterc20:
|
||||
return [42];
|
||||
case CryptoCurrency.xlm:
|
||||
return [56];
|
||||
case CryptoCurrency.xrp:
|
||||
|
||||
Reference in New Issue
Block a user