Skip to content

Commit

Permalink
Use scheduleFromNow instead of schedule+boost::chrono
Browse files Browse the repository at this point in the history
  • Loading branch information
codablock committed Mar 7, 2019
1 parent f44f09c commit 5b8344e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/llmq/quorums_instantsend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,9 @@ void CInstantSendManager::ProcessMessageInstantXLock(CNode* pfrom, const llmq::C

if (!hasScheduledProcessPending) {
hasScheduledProcessPending = true;
scheduler->schedule([&] {
scheduler->scheduleFromNow([&] {
ProcessPendingInstantXLocks();
}, boost::chrono::system_clock::now() + boost::chrono::milliseconds(100));
}, 100);
}
}

Expand Down

0 comments on commit 5b8344e

Please sign in to comment.