diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2017-03-09 13:34:54 +0100 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2017-07-25 13:46:52 +0200 |
commit | 6e8c48dc593d8b6e5cebd15a980074715223b572 (patch) | |
tree | 7977c539a2e3a2d344d156fc53fde9848dc84ca1 /src/qt/transactionrecord.cpp | |
parent | 0c70e845aa9277a4ceb8307f0ad8f1bf7511e3c8 (diff) |
Add const to methods that do not modify the object for which it is called
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 03fd734e92..0b5df8a67d 100644 --- a/src/qt/transactionrecord.cpp +++ b/src/qt/transactionrecord.cpp @@ -248,7 +248,7 @@ void TransactionRecord::updateStatus(const CWalletTx &wtx) status.needsUpdate = false; } -bool TransactionRecord::statusUpdateNeeded() +bool TransactionRecord::statusUpdateNeeded() const { AssertLockHeld(cs_main); return status.cur_num_blocks != chainActive.Height() || status.needsUpdate; |