diff options
| author | João Barbosa <[email protected]> | 2019-03-27 17:00:08 +0000 |
|---|---|---|
| committer | João Barbosa <[email protected]> | 2019-03-31 11:37:41 +0100 |
| commit | 2ebf650b2eb7a078ab60c8c4d5c726823686f549 (patch) | |
| tree | 13a96b58f06c7b3bfd392923324fe43b65a502be /src | |
| parent | interfaces: Add Chain::requestMempoolTransactions (diff) | |
| download | discoin-2ebf650b2eb7a078ab60c8c4d5c726823686f549.tar.xz discoin-2ebf650b2eb7a078ab60c8c4d5c726823686f549.zip | |
wallet: Update transactions with current mempool after load
Diffstat (limited to 'src')
| -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 a1d0de6a1..b137bbb9d 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) |