fix(cw_bitcoin): disable all non-segwit addresses

This commit is contained in:
Czarek Nakamoto 2025-06-14 19:07:39 +02:00 committed by cyan
parent dc51ad1385
commit eeaa8b434d

View file

@ -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 = [