aboutsummaryrefslogtreecommitdiff
path: root/src/qt/transactionrecord.cpp
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2017-05-24 17:09:01 +0200
committerJonas Schnelli <dev@jonasschnelli.ch>2017-05-24 17:09:01 +0200
commit6d7104c9944218bcf60073ff9934b6f27eb5da6f (patch)
treefe2d745395c8db5d3554274e8dceea5e40dfa43e /src/qt/transactionrecord.cpp
parent32325a3f58fd607c29030b0dd6f2388579b9c926 (diff)
[Qt] make sure transaction table entry gets updated after bump
Diffstat (limited to 'src/qt/transactionrecord.cpp')
-rw-r--r--src/qt/transactionrecord.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/transactionrecord.cpp b/src/qt/transactionrecord.cpp
index 4bb260aa58..0090b0c74b 100644
--- a/src/qt/transactionrecord.cpp
+++ b/src/qt/transactionrecord.cpp
@@ -246,13 +246,13 @@ void TransactionRecord::updateStatus(const CWalletTx &wtx)
status.status = TransactionStatus::Confirmed;
}
}
-
+ status.needsUpdate = false;
}
bool TransactionRecord::statusUpdateNeeded()
{
AssertLockHeld(cs_main);
- return status.cur_num_blocks != chainActive.Height();
+ return status.cur_num_blocks != chainActive.Height() || status.needsUpdate;
}
QString TransactionRecord::getTxID() const