aboutsummaryrefslogtreecommitdiff
path: root/src/model/TransactionHistoryModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/TransactionHistoryModel.cpp')
-rw-r--r--src/model/TransactionHistoryModel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/model/TransactionHistoryModel.cpp b/src/model/TransactionHistoryModel.cpp
index c1f61fa1..907c21e8 100644
--- a/src/model/TransactionHistoryModel.cpp
+++ b/src/model/TransactionHistoryModel.cpp
@@ -3,6 +3,7 @@
#include "TransactionInfo.h"
#include <QDateTime>
+#include <QDebug>
TransactionHistoryModel::TransactionHistoryModel(QObject *parent)
@@ -86,7 +87,7 @@ QVariant TransactionHistoryModel::data(const QModelIndex &index, int role) const
result = tInfo->confirmations();
break;
case TransactionConfirmationsRequiredRole:
- result = (tInfo->blockHeight() < tInfo->unlockTime()) ? tInfo->unlockTime() - tInfo->blockHeight() : 0;
+ result = (tInfo->blockHeight() < tInfo->unlockTime()) ? tInfo->unlockTime() - tInfo->blockHeight() : 10;
break;
case TransactionHashRole:
result = tInfo->hash();