mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 01:37:54 +00:00
Merge pull request #777 from cypherstack/ecash
Do not validate "p" (P2SH) XEC addresses
This commit is contained in:
commit
d289636085
1 changed files with 2 additions and 1 deletions
|
@ -185,7 +185,8 @@ class Ecash 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