fix zaddr validation (#506)

Sideshift only supports `zs` Sapling addresses now. They do not support `zc` Sprout addresses or `u` unified addresses

Justin Ehrenhofer committed Sep 14, 2022 at 14:46 UTC bc8900e879b41612a8f8a8a6771300e07223a514
1 file changed +1 -1
lib/core/address_validator.dart
+1 -1
@@ -71,7 +71,7 @@ class AddressValidator extends TextValidator {
71 case CryptoCurrency.hbar:
72 return '[0-9a-zA-Z.]';
73 case CryptoCurrency.zaddr:
74 - return '^zs[0-9a-zA-Z]{75}\&|^zc[0-9a-zA-Z]{93}\$';
74 + return '^zs[0-9a-zA-Z]{75}';
75 case CryptoCurrency.zec:
76 return '^t1[0-9a-zA-Z]{33}\$|^t3[0-9a-zA-Z]{33}\$';
77 default: