Steps:
1. Send transaction (A) to a different wallet
2. Using the change, create another transaction (B) to a different wallet
3. `abandontransaction` B
4. `bumpfee` A fails with `Transaction has descendants in the wallet`
}
OutputType CWalletTransactionChangeType(const stdoptional<OutputType>& change_type, const stdvector<CRecipient>& vecSend) const
{
    //  -changetype is specified, always use that change type.
    if (change_type) {
        return *change_type;
    }
    // if m_default_address_type is legacy, use legacy address as change.
    if (m_default_address_type == OutputTypeLEGACY) {
        return OutputTypeLEGACY;
    }
    bool any_tr{false};
    bool any_wpkh{false};
    bool any_sh{false};
    bool any_pkh{false};
    for (const auto& recipient  vecSend) {
        stdvector<stdvector<uint8_t>> dummy;
        const TxoutType type{Solver(recipient.scriptPubKey, dummy)};
        if (type == TxoutTypeWITNESS_V1_TAPROOT) {
            any_tr = true;
        } else if (type == TxoutTypeWITNESS_V0_KEYHASH) {
            any_wpkh = true;
        } else if (type == TxoutTypeSCRIPTHASH) {
            any_sh = true;
        } else if (type == TxoutTypePUBKEYHASH) {
            any_pkh = true;
        }
    }
    const bool has_bech32m_spkman(GetScriptPubKeyMan(OutputTypeBECH32M, /*internal
    if (has_bech32m_spkman && any_tr) {