mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
fix: reorder initializations (#5545)
## Issue being fixed or feature implemented fix buid errors like https://gitlab.com/dashpay/dash/-/jobs/4933232262 ## What was done? reorder initializations ## How Has This Been Tested? local build with `-werror` ## Breaking Changes n/a ## Checklist: - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
This commit is contained in:
parent
c572f59e38
commit
3e1c6dd731
@ -29,12 +29,12 @@ CChainLocksHandler::CChainLocksHandler(CChainState& chainstate, CConnman& _connm
|
||||
CTxMemPool& _mempool, const std::unique_ptr<PeerManager>& peerman) :
|
||||
m_chainstate(chainstate),
|
||||
connman(_connman),
|
||||
mempool(_mempool),
|
||||
spork_manager(sporkManager),
|
||||
m_mn_sync(mn_sync),
|
||||
qman(_qman),
|
||||
sigman(_sigman),
|
||||
shareman(_shareman),
|
||||
qman(_qman),
|
||||
m_mn_sync(mn_sync),
|
||||
spork_manager(sporkManager),
|
||||
mempool(_mempool),
|
||||
m_peerman(peerman),
|
||||
scheduler(std::make_unique<CScheduler>()),
|
||||
scheduler_thread(std::make_unique<std::thread>([&] { TraceThread("cl-schdlr", [&] { scheduler->serviceQueue(); }); }))
|
||||
|
Loading…
Reference in New Issue
Block a user