|
|
|
@ -246,13 +246,13 @@ void TransactionRecord::updateStatus(const CWalletTx &wtx)
@@ -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 |
|
|
|
|