Skip to content

Commit 5b8344e

Browse files
committed
Use scheduleFromNow instead of schedule+boost::chrono
1 parent f44f09c commit 5b8344e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/llmq/quorums_instantsend.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -382,9 +382,9 @@ void CInstantSendManager::ProcessMessageInstantXLock(CNode* pfrom, const llmq::C
382382

383383
if (!hasScheduledProcessPending) {
384384
hasScheduledProcessPending = true;
385-
scheduler->schedule([&] {
385+
scheduler->scheduleFromNow([&] {
386386
ProcessPendingInstantXLocks();
387-
}, boost::chrono::system_clock::now() + boost::chrono::milliseconds(100));
387+
}, 100);
388388
}
389389
}
390390

0 commit comments

Comments
 (0)