From f4f507f1e6ca3106bab663c1f5ee2ca8a46ffeab Mon Sep 17 00:00:00 2001 From: wydengyre Date: Fri, 15 Sep 2023 12:54:58 +0100 Subject: [PATCH] rpcclient: FundRawTransaction bech32m change support --- btcjson/chainsvrcmds.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/btcjson/chainsvrcmds.go b/btcjson/chainsvrcmds.go index aa1d4415..661f6867 100644 --- a/btcjson/chainsvrcmds.go +++ b/btcjson/chainsvrcmds.go @@ -133,6 +133,8 @@ var ( ChangeTypeP2SHSegWit ChangeType = "p2sh-segwit" // ChangeTypeBech32 indicates a P2WPKH change address type. ChangeTypeBech32 ChangeType = "bech32" + // ChangeTypeBech32m indicates a P2TR change address type. + ChangeTypeBech32m ChangeType = "bech32m" ) // FundRawTransactionOpts are the different options that can be passed to rawtransaction