rpcclient: FundRawTransaction bech32m change support

This commit is contained in:
wydengyre 2023-09-15 12:54:58 +01:00
parent 80f5a0ffdf
commit f4f507f1e6

View file

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