diff options
author | luigi1111 <luigi1111w@gmail.com> | 2018-06-27 20:15:10 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2018-06-27 20:15:10 -0500 |
commit | 008b9036a3d3e6a3419fa7de677f8de878f1bd6a (patch) | |
tree | f6973f34136649b857c3333f695084692fa67fa6 | |
parent | Merge pull request #4065 (diff) | |
parent | blockchain: fix build after waiter::wait prototype change (diff) | |
download | monero-008b9036a3d3e6a3419fa7de677f8de878f1bd6a.tar.xz |
Merge pull request #4066
84d9e7f blockchain: fix build after waiter::wait prototype change (moneromooo-monero)
-rw-r--r-- | src/cryptonote_core/blockchain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index fb88a13cb..73ce98366 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/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) |