From c5b46211b8fb526dab3f30b7d1b7385827e3594e Mon Sep 17 00:00:00 2001 From: tobtoht Date: Mon, 29 Apr 2024 04:12:20 +0200 Subject: [PATCH] fix bounds check --- src/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 6c1877c..e612b5b 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"