use segwit change address for notification tx

This commit is contained in:
julian 2023-02-23 14:01:36 -06:00
parent a63af1787a
commit a57cd88696

View file

@ -125,14 +125,16 @@ class BitcoinWallet extends CoinServiceAPI
getMnemonicString: () => mnemonicString,
getMnemonicPassphrase: () => mnemonicPassphrase,
getChainHeight: () => chainHeight,
getCurrentChangeAddress: () => currentChangeAddressP2PKH,
// getCurrentChangeAddress: () => currentChangeAddressP2PKH,
getCurrentChangeAddress: () => currentChangeAddress,
estimateTxFee: estimateTxFee,
prepareSend: prepareSend,
getTxCount: getTxCount,
fetchBuildTxData: fetchBuildTxData,
refresh: refresh,
checkChangeAddressForTransactions:
_checkP2PKHChangeAddressForTransactions,
checkChangeAddressForTransactions: _checkChangeAddressForTransactions,
// checkChangeAddressForTransactions:
// _checkP2PKHChangeAddressForTransactions,
addDerivation: addDerivation,
dustLimitP2PKH: DUST_LIMIT_P2PKH,
minConfirms: MINIMUM_CONFIRMATIONS,