Skip to content

Commit 9d94ea6

Browse files
committed
[Model][Performance] Double index call locking cs_wallet and cs_main twice for every single record fix.
1 parent 76f29fc commit 9d94ea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/transactiontablemodel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ QModelIndex TransactionTableModel::index(int row, int column, const QModelIndex&
792792
Q_UNUSED(parent);
793793
TransactionRecord* data = priv->index(row);
794794
if (data) {
795-
return createIndex(row, column, priv->index(row));
795+
return createIndex(row, column, data);
796796
}
797797
return QModelIndex();
798798
}

0 commit comments

Comments
 (0)