wallet: Update transactions with current mempool after load

Github-Pull: #15652
Rebased-From: 2ebf650b2e
This commit is contained in:
João Barbosa
2019-03-27 17:00:08 +00:00
committed by MarcoFalke
parent ed0498af28
commit 59716ec395

View File

@@ -4429,6 +4429,9 @@ void CWallet::postInitProcess()
// Add wallet transactions that aren't already in a block to mempool
// Do this here as mempool requires genesis block to be loaded
ReacceptWalletTransactions(*locked_chain);
// Update wallet transactions with current mempool transactions.
chain().requestMempoolTransactions([this](const CTransactionRef& tx) { TransactionAddedToMempool(tx); });
}
bool CWallet::BackupWallet(const std::string& strDest)