diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-07-09 10:26:46 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-07-09 10:30:23 +0200 |
commit | 2eace48d9a50e5393f3627bcd0614ed9b262794a (patch) | |
tree | cf27980d722561065041842ef028c2dc9337c1cf /src/qt/transactionrecord.cpp | |
parent | 460cd40aa51a5367c361ebb32c2a2d39cdd08195 (diff) |
remove magic number: change threshold for nLockTime to constant
Diffstat (limited to 'src/qt/transactionrecord.cpp')
-rw-r--r-- | src/qt/transactionrecord.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/transactionrecord.cpp b/src/qt/transactionrecord.cpp index 1b527bc7d3..c74b48bd61 100644 --- a/src/qt/transactionrecord.cpp +++ b/src/qt/transactionrecord.cpp @@ -195,7 +195,7 @@ void TransactionRecord::updateStatus(const CWalletTx &wtx) if (!wtx.IsFinal()) { - if (wtx.nLockTime < 500000000) + if (wtx.nLockTime < LOCKTIME_THRESHOLD) { status.status = TransactionStatus::OpenUntilBlock; status.open_for = nBestHeight - wtx.nLockTime; |