mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-28 01:58:46 +00:00
do not validate "p" (P2SH) addresses
This commit is contained in:
parent
aa88b9a637
commit
8e7523f804
1 changed files with 2 additions and 1 deletions
|
@ -192,7 +192,8 @@ class Bitcoincash extends Bip39HDCurrency {
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue