diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-03-06 18:06:50 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-03-10 09:47:32 -0400 |
commit | fadafb83cff9a9a340eac1b5a853e2467d5e0ef7 (patch) | |
tree | 62583dfe70fc70cfde198ca12c1872ef79adc5a6 /src/wallet/load.cpp | |
parent | fa70ccc6c4e304646b4610228f3975b3a9762643 (diff) | |
download | bitcoin-fadafb83cff9a9a340eac1b5a853e2467d5e0ef7.tar.xz |
scheduler: Make schedule* methods type safe
Diffstat (limited to 'src/wallet/load.cpp')
-rw-r--r-- | src/wallet/load.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/load.cpp b/src/wallet/load.cpp index 071befaebf..3e92c07d64 100644 --- a/src/wallet/load.cpp +++ b/src/wallet/load.cpp @@ -88,8 +88,8 @@ void StartWallets(CScheduler& scheduler) } // Schedule periodic wallet flushes and tx rebroadcasts - scheduler.scheduleEvery(MaybeCompactWalletDB, 500); - scheduler.scheduleEvery(MaybeResendWalletTxs, 1000); + scheduler.scheduleEvery(MaybeCompactWalletDB, std::chrono::milliseconds{500}); + scheduler.scheduleEvery(MaybeResendWalletTxs, std::chrono::milliseconds{1000}); } void FlushWallets() |