mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-25 09:50:04 -07:00
Merge pull request #4066
84d9e7f
blockchain: fix build after waiter::wait prototype change (moneromooo-monero)
This commit is contained in:
commit
008b9036a3
@ -2745,7 +2745,7 @@ bool Blockchain::check_tx_inputs(transaction& tx, tx_verification_context &tvc,
|
||||
|
||||
tools::threadpool& tpool = tools::threadpool::getInstance();
|
||||
tools::threadpool::waiter waiter;
|
||||
const auto waiter_guard = epee::misc_utils::create_scope_leave_handler([&]() { waiter.wait(); });
|
||||
const auto waiter_guard = epee::misc_utils::create_scope_leave_handler([&]() { waiter.wait(&tpool); });
|
||||
int threads = tpool.get_max_concurrency();
|
||||
|
||||
for (const auto& txin : tx.vin)
|
||||
|
Loading…
Reference in New Issue
Block a user