aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoão Barbosa <joao.paulo.barbosa@gmail.com>2019-03-27 17:00:08 +0000
committerJoão Barbosa <joao.paulo.barbosa@gmail.com>2019-03-31 11:37:41 +0100
commit2ebf650b2eb7a078ab60c8c4d5c726823686f549 (patch)
tree13a96b58f06c7b3bfd392923324fe43b65a502be /src
parent57908a739ca377d60ef224ce0f565d4412a414f4 (diff)
downloadbitcoin-2ebf650b2eb7a078ab60c8c4d5c726823686f549.tar.xz
wallet: Update transactions with current mempool after load
Diffstat (limited to 'src')
-rw-r--r--src/wallet/wallet.cpp3
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)