Skip to content

Commit 2ebf650

Browse files
committed
wallet: Update transactions with current mempool after load
1 parent 57908a7 commit 2ebf650

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/wallet/wallet.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4402,6 +4402,9 @@ void CWallet::postInitProcess()
44024402
// Add wallet transactions that aren't already in a block to mempool
44034403
// Do this here as mempool requires genesis block to be loaded
44044404
ReacceptWalletTransactions(*locked_chain);
4405+
4406+
// Update wallet transactions with current mempool transactions.
4407+
chain().requestMempoolTransactions(*this);
44054408
}
44064409

44074410
bool CWallet::BackupWallet(const std::string& strDest)

0 commit comments

Comments
 (0)