mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 12:29:51 +00:00
fix(cw_bitcoin): disable all non-segwit addresses
This commit is contained in:
parent
dc51ad1385
commit
eeaa8b434d
1 changed files with 6 additions and 4 deletions
|
@ -30,10 +30,12 @@ class BitcoinReceivePageOption implements ReceivePageOption {
|
|||
|
||||
static const allViewOnly = [
|
||||
BitcoinReceivePageOption.p2wpkh,
|
||||
BitcoinReceivePageOption.p2tr,
|
||||
BitcoinReceivePageOption.p2wsh,
|
||||
BitcoinReceivePageOption.p2sh,
|
||||
BitcoinReceivePageOption.p2pkh
|
||||
// TODO: uncomment this after we properly derive keys and not use m/84 for
|
||||
// all of them (as this breaks cupcake)
|
||||
// BitcoinReceivePageOption.p2tr,
|
||||
// BitcoinReceivePageOption.p2wsh,
|
||||
// BitcoinReceivePageOption.p2sh,
|
||||
// BitcoinReceivePageOption.p2pkh
|
||||
];
|
||||
|
||||
static const allLitecoin = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue