From eeaa8b434deec0cc215adc14ef3806c4e5fb4643 Mon Sep 17 00:00:00 2001 From: Czarek Nakamoto Date: Sat, 14 Jun 2025 19:07:39 +0200 Subject: [PATCH] fix(cw_bitcoin): disable all non-segwit addresses --- cw_bitcoin/lib/bitcoin_receive_page_option.dart | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/cw_bitcoin/lib/bitcoin_receive_page_option.dart b/cw_bitcoin/lib/bitcoin_receive_page_option.dart index c4b175590..8491ae8e3 100644 --- a/cw_bitcoin/lib/bitcoin_receive_page_option.dart +++ b/cw_bitcoin/lib/bitcoin_receive_page_option.dart @@ -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 = [