Remove unused adjustedTime parameter

qt: After merging #13622 the `adjustedTime` is not used any more in
wallet related functions.
This commit is contained in:
Hennadii Stepanov
2018-10-23 17:36:46 +03:00
parent 5c25409d68
commit 04972fefd1
7 changed files with 12 additions and 20 deletions

View File

@@ -193,9 +193,8 @@ public:
// simply re-use the cached status.
interfaces::WalletTxStatus wtx;
int numBlocks;
int64_t adjustedTime;
if (wallet.tryGetTxStatus(rec->hash, wtx, numBlocks, adjustedTime) && rec->statusUpdateNeeded(numBlocks)) {
rec->updateStatus(wtx, numBlocks, adjustedTime);
if (wallet.tryGetTxStatus(rec->hash, wtx, numBlocks) && rec->statusUpdateNeeded(numBlocks)) {
rec->updateStatus(wtx, numBlocks);
}
return rec;
}