wallet: Update transactions with current mempool after load
This commit is contained in:
parent
57908a739c
commit
2ebf650b2e
1 changed files with 3 additions and 0 deletions
|
@ -4402,6 +4402,9 @@ void CWallet::postInitProcess()
|
||||||
// Add wallet transactions that aren't already in a block to mempool
|
// Add wallet transactions that aren't already in a block to mempool
|
||||||
// Do this here as mempool requires genesis block to be loaded
|
// Do this here as mempool requires genesis block to be loaded
|
||||||
ReacceptWalletTransactions(*locked_chain);
|
ReacceptWalletTransactions(*locked_chain);
|
||||||
|
|
||||||
|
// Update wallet transactions with current mempool transactions.
|
||||||
|
chain().requestMempoolTransactions(*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CWallet::BackupWallet(const std::string& strDest)
|
bool CWallet::BackupWallet(const std::string& strDest)
|
||||||
|
|
Loading…
Reference in a new issue