mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-25 06:19:25 +02:00
[Qt] make sure transaction table entry gets updated after bump
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user