Merge pull request #777 from cypherstack/ecash

Do not validate "p" (P2SH) XEC addresses
This commit is contained in:
Diego Salazar 2024-02-26 22:03:31 -07:00 committed by GitHub
commit d289636085
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -185,7 +185,8 @@ class Ecash extends Bip39HDCurrency {
addr = cashAddr.split(":").last; addr = cashAddr.split(":").last;
} }
return addr.startsWith("q") || addr.startsWith("p"); return addr.startsWith("q") /*|| addr.startsWith("p")*/;
// Do not validate "p" (P2SH) addresses.
} }
@override @override