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.
{
    setFontSize(consoleFontSize+1);
}
void RPCConsole::fontSmaller()
{
    setFontSize(consoleFontSize-1);
}
void RPCConsole::setFontSize(int newSize)
{
    QSettings settings;
    //
    if (newSize < FONT_RANGE.width() || newSize > FONT_RANGE.height())
        return;
    // 
    QString str = ui->messagesWidget->toHtml();
    // 
    str.replace(QString("font-size:%1pt").arg(consoleFontSize), QString("font-size:%1pt").arg(newSize));
    // 
    consoleFontSize = newSize;
    settings.setValue(fontSizeSettingsKey, consoleFontSize);
    // 
    float oldPosFactor = 1.0 / ui->messagesWidget->verticalScrollBar()->maximum() * ui->messagesWidget->verticalScrollBar()->value();
    clear(false);
    ui->messagesWidget->setHtml(str);
    ui->messagesWidget->verticalScrollBar()->setValue(oldPosFactor * ui->messagesWidget->verticalScrollBar()->maximum());
}
void RPCConsole::clear(bool clearHistory)