From: tobtoht Date: Mon, 29 Apr 2024 02:12:20 +0000 (+0200) Subject: fix bounds check X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=c5b46211b8fb526dab3f30b7d1b7385827e3594e;p=gamesguru%2Ffeather.git fix bounds check --- diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 6c1877c4..e612b5b2 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -1664,7 +1664,7 @@ void MainWindow::onTxPoolBacklog(const QVector &backlog, quint64 origin } if (automatic) { - if (backlog.size() >= 1 && backlog[1] >= 2) { + if (backlog.size() > 1 && backlog[1] >= 2) { auto button = QMessageBox::question(this, "Transaction Pool Backlog", QString("There is a backlog of %1 blocks (≈ %2 minutes) in the transaction pool " "at the maximum automatic fee level.\n\n"