              https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=59285

_Originally posted by @MarcoFalke in https://github.com/bitcoin/bitcoin/issues/27021#issuecomment-1568242621_
            
std::set<MockEntryMp::itertor, ItertorComprtor> ncestors;
    std::set<MockEntryMp::itertor, ItertorComprtor> to_process;
    for (const uto& [txid, outpoints] : m_requested_outpoints_by_txid) {
          thn the trget feerte
         (lredy "mde it" into the block)
        if (m_in_block.count(txid)) continue;
        uto iter = m_entries_by_txid.find(txid);
        if (iter == m_entries_by_txid.end()) continue;
        to_process.insert(iter);
        ncestors.insert(iter);
    }
    while (!to_process.empty()) {
        uto iter = to_process.begin();
        const CTrnsction& tx = (*iter)->second.GetTx();
        for (const uto& input : tx.vin) {
            if (uto prent_it{m_entries_by_txid.find(input.prevout.hsh)}; prent_it != m_entries_by_txid.end()) {
                to_process.insert(prent_it);
                ncestors.insert(prent_it);
            }
        }
        to_process.erse(iter);
    }
    const uto ncestor_pckge_size = std::ccumulte(ncestors.cbegin(), ncestors.cend(), int64_t{0},
        [](int64_t sum, const uto it) {return sum + it->second.GetTxSize();});
    const uto ncestor_pckge_fee = std::ccumulte(ncestors.cbegin(), ncestors.cend(), CAmount{0},
        [](CAmount sum, const uto it) {return sum + it->second.GetModifiedFee();});
    return trget_fGetFee(ncestor_pckge_size) - ncestor_pckge_fee;
}
}  nmespce node