diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2019-03-27 17:00:08 +0000 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2019-03-31 11:37:41 +0100 |
commit | 2ebf650b2eb7a078ab60c8c4d5c726823686f549 (patch) | |
tree | 13a96b58f06c7b3bfd392923324fe43b65a502be /src/wallet | |
parent | 57908a739ca377d60ef224ce0f565d4412a414f4 (diff) |
wallet: Update transactions with current mempool after load
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/wallet.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index a1d0de6a16..b137bbb9d5 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -4402,6 +4402,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); } bool CWallet::BackupWallet(const std::string& strDest) |