From b05b278a7148b5a5bfb61b17f60b81c7477b6b31 Mon Sep 17 00:00:00 2001 From: David Kaplan Date: Sun, 17 Dec 2023 09:50:36 -0500 Subject: [PATCH] fix(abstract-utxo): add changeAddressType to change params TICKET: BTC-741 --- modules/abstract-utxo/src/abstractUtxoCoin.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/abstract-utxo/src/abstractUtxoCoin.ts b/modules/abstract-utxo/src/abstractUtxoCoin.ts index 73dfca456e..db2b3ccd4a 100644 --- a/modules/abstract-utxo/src/abstractUtxoCoin.ts +++ b/modules/abstract-utxo/src/abstractUtxoCoin.ts @@ -1476,6 +1476,7 @@ export abstract class AbstractUtxoCoin extends BaseCoin { // if the addressType is not specified, we need to default to p2trMusig2 for testnet hot wallets for staged rollout of p2trMusig2 if ( buildParams.addressType === undefined && + buildParams.changeAddressType === undefined && buildParams.wallet.type() === 'hot' && this.network === utxolib.networks.testnet ) {