You've already forked floweepay-aur
Prepare second Feb release
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
From e676015393ad1c59b3b7261bf54ce64e321e8ee7 Mon Sep 17 00:00:00 2001
|
||||
From: TomZ <tom@flowee.org>
|
||||
Date: Sat, 14 Feb 2026 16:55:23 +0100
|
||||
Subject: [PATCH] Fix off by one in unit test.
|
||||
|
||||
---
|
||||
testing/walletHistoryModel/TestWalletHistoryModel.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/testing/walletHistoryModel/TestWalletHistoryModel.cpp b/testing/walletHistoryModel/TestWalletHistoryModel.cpp
|
||||
index 6cb9077..3f92ca8 100644
|
||||
--- a/testing/walletHistoryModel/TestWalletHistoryModel.cpp
|
||||
+++ b/testing/walletHistoryModel/TestWalletHistoryModel.cpp
|
||||
@@ -88,7 +88,7 @@ void TestWalletHistoryModel::basic()
|
||||
QCOMPARE(model->rowCount(), 0);
|
||||
wallet->createTransactions1();
|
||||
model->notifyNewTransactions(1, 6000); // wallet starts counting at 1
|
||||
- QCOMPARE(model->rowCount(), 6001); // The model auto-inserts one 'since last seen' row.
|
||||
+ QCOMPARE(model->rowCount(), 6000); // The model auto-inserts one 'since last seen' row.
|
||||
|
||||
auto first = model->data(model->index(0, 0), WalletHistoryModel::MinedHeight);
|
||||
QVERIFY(first.isValid());
|
||||
--
|
||||
2.52.0
|
||||
|
||||
Reference in New Issue
Block a user