aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Moffett <john.moff@gmail.com>2023-01-27 09:38:03 -0500
committerJohn Moffett <john.moff@gmail.com>2023-01-27 10:04:48 -0500
commitc497a198db6f417d2612078a9fbc101e259fab33 (patch)
tree5db775dc66aba856a237cce770a7c2fad8c80f56
parentffc22b7d42c6360223508293b8c1f88b1a1a468b (diff)
downloadbitcoin-c497a198db6f417d2612078a9fbc101e259fab33.tar.xz
Fix comment about how wallet txs are sorted
The wallet transactions in the node are not sorted by hash. Also make comment Doxygen compatible.
-rw-r--r--src/qt/transactiontablemodel.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp
index 3b32137bd4..25d54bdce6 100644
--- a/src/qt/transactiontablemodel.cpp
+++ b/src/qt/transactiontablemodel.cpp
@@ -93,10 +93,7 @@ public:
TransactionTableModel *parent;
- /* Local cache of wallet.
- * As it is in the same order as the CWallet, by definition
- * this is sorted by sha256.
- */
+ //! Local cache of wallet sorted by transaction hash
QList<TransactionRecord> cachedWallet;
/** True when model finishes loading all wallet transactions on start */