|
|
@ -246,13 +246,13 @@ void TransactionRecord::updateStatus(const CWalletTx &wtx) |
|
|
|
status.status = TransactionStatus::Confirmed; |
|
|
|
status.status = TransactionStatus::Confirmed; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
status.needsUpdate = false; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
bool TransactionRecord::statusUpdateNeeded() |
|
|
|
bool TransactionRecord::statusUpdateNeeded() |
|
|
|
{ |
|
|
|
{ |
|
|
|
AssertLockHeld(cs_main); |
|
|
|
AssertLockHeld(cs_main); |
|
|
|
return status.cur_num_blocks != chainActive.Height(); |
|
|
|
return status.cur_num_blocks != chainActive.Height() || status.needsUpdate; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
QString TransactionRecord::getTxID() const |
|
|
|
QString TransactionRecord::getTxID() const |
|
|
|