aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r--src/wallet/wallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index 88dbb77ab5..04d5ea6eff 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -3765,7 +3765,7 @@ void CWallet::postInitProcess(CScheduler& scheduler)
// Run a thread to flush wallet periodically
if (!CWallet::fFlushScheduled.exchange(true)) {
- scheduler.scheduleEvery(MaybeFlushWalletDB, 500);
+ scheduler.scheduleEvery(MaybeCompactWalletDB, 500);
}
}