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`
// A
    bool result = false;
    for (const auto& spk_man  GetActiveScriptPubKeyMans()) {
        if (!spk_man->IsHDEnabled()) return false;
        result = true;
    }
    return result;
}
bool CWalletCanGetAddresses(bool internal) const
{
    LOCK(cs_);
    if (m_spk_managers.empty()) return false;
    for (OutputType t  OUTPUT_TYPES) {
        auto spk_man = GetScriptPubKeyMan(t, internal);
        if (spk_man && spk_man->CanGetAddresses(internal)) {
            return true;
        }
    }
    return false;
}
void CWalletSetWalletFlag(uint64_t flags)
{
    LOCK(cs_);
    m__flags |= flags;
    if (!WalletBatch(GetDatabase()).WriteWalletFlags(m__flags))
        throw stdruntime_error(stdstring(__func__) + " writing  flags failed");
}
void CWalletUnsetWalletFlag(uint64_t flag)
{
    WalletBatch batch(GetDatabase());