- disable SideShift
- minor fixes
This commit is contained in:
OmarHatem
2025-10-31 01:55:09 +01:00
parent 00b99a9fa0
commit 3f9840233a
3 changed files with 9 additions and 5 deletions
+2 -2
View File
@@ -347,10 +347,10 @@ class AddressValidator extends TextValidator {
pattern = '([1-9A-HJ-NP-Za-km-z]{90,200})|(@[\w\d.-]+)';
default:
if (type.tag == CryptoCurrency.eth.title) {
pattern = '0x[0-9a-zA-Z]{42}';
pattern = '0x[0-9a-zA-Z]+';
}
if (type.tag == CryptoCurrency.maticpoly.tag) {
pattern = '0x[0-9a-zA-Z]{42}';
pattern = '0x[0-9a-zA-Z]+';
}
if (type.tag == CryptoCurrency.sol.title) {
pattern = '[1-9A-HJ-NP-Za-km-z]{43,44}';