Permalink
Browse files

Merge pull request #4066

84d9e7f blockchain: fix build after waiter::wait prototype change (moneromooo-monero)
  • Loading branch information...
luigi1111 committed Jun 28, 2018
2 parents 0c76dbd + 84d9e7f commit 008b9036a3d3e6a3419fa7de677f8de878f1bd6a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/cryptonote_core/blockchain.cpp
@@ -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)

0 comments on commit 008b903

Please sign in to comment.