mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-18 02:07:43 +00:00
Merge pull request #731 from cypherstack/bch-p2sh
BCH: Do not validate "p" (P2SH) addresses.
This commit is contained in:
commit
ad943ad8d6
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