]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
fix bounds check
authortobtoht <tob@featherwallet.org>
Mon, 29 Apr 2024 02:12:20 +0000 (04:12 +0200)
committertobtoht <tob@featherwallet.org>
Mon, 29 Apr 2024 02:12:20 +0000 (04:12 +0200)
src/MainWindow.cpp

index 6c1877c446f1d78461ec33c27ea1c924b8ac6954..e612b5b232b9849a83219bb8b371be54f075f441 100644 (file)
@@ -1664,7 +1664,7 @@ void MainWindow::onTxPoolBacklog(const QVector<quint64> &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"