do not validate "p" (P2SH) addresses

This commit is contained in:
sneurlax 2024-02-26 10:23:34 -06:00
parent d0d7843b4d
commit 4d94de2e3d

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