aboutsummaryrefslogtreecommitdiff
path: root/src/qt/transactionrecord.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-06-20 21:31:06 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-06-20 21:34:31 +0200
commit18b99e3f69e039f8f431e49c3d1e6c9f96fe3896 (patch)
tree4d255971a25584865ce33809a9ffde3171c40820 /src/qt/transactionrecord.cpp
parent679592720af4bae337bcb2d2c0343a9352bbfefc (diff)
number of confirmations is no longer magic value
Diffstat (limited to 'src/qt/transactionrecord.cpp')
-rw-r--r--src/qt/transactionrecord.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/transactionrecord.cpp b/src/qt/transactionrecord.cpp
index 34f30d53d5..2f00fa8752 100644
--- a/src/qt/transactionrecord.cpp
+++ b/src/qt/transactionrecord.cpp
@@ -211,7 +211,7 @@ void TransactionRecord::updateStatus(const CWalletTx &wtx)
{
status.status = TransactionStatus::Offline;
}
- else if (status.depth < 6)
+ else if (status.depth < NumConfirmations)
{
status.status = TransactionStatus::Unconfirmed;
}