How to reproduce: Build a transaction with ~190 inputs, get the hex and issue `testmempoolaccept [\"{txhex}\"]` in the GUI console. It'll give back a `TX decode failed (code -22)` with a stripped txhex where the end is cut down.
{
    if (!clientModel || !clientModel->getPeerTableModel())
        return;
    const CNodeCombinedStats *stats = nullptr;
    bool fUnselect = false;
    bool fReselect = false;
    if (cachedNodeids.empty()) // n
        return;
    // f
    int selectedRow = -1;
    QModelIndexList selectedModelIndex = ui->peerWidget->selectionModel()->selectedIndexes();
    if (!selectedModelIndex.isEmpty()) {
        selectedRow = selectedModelIndex.first().row();
    }
    // c
    // b
    int detailNodeRow = clientModel->getPeerTableModel()->getRowByNodeId(cachedNodeids.first());
    if (detailNodeRow < 0)
    {
        // d
        fUnselect = true;
    }
    else
    {
        if (detailNodeRow != selectedRow)
        {
            // d
            fUnselect = true;
            fReselect = true;