mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-22 10:34:32 +00:00
do not validate "p" (P2SH) addresses
This commit is contained in:
parent
d0d7843b4d
commit
4d94de2e3d
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue