aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/blockchain.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-06-28 00:24:39 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-06-28 00:24:39 +0100
commit84d9e7faec030b02406ddce09b4899d5887595e2 (patch)
tree7b8545d9759d69a7816640d9d91c5749d5e5fff7 /src/cryptonote_core/blockchain.cpp
parentMerge pull request #3907 (diff)
downloadmonero-84d9e7faec030b02406ddce09b4899d5887595e2.tar.xz
blockchain: fix build after waiter::wait prototype change
Diffstat (limited to 'src/cryptonote_core/blockchain.cpp')
-rw-r--r--src/cryptonote_core/blockchain.cpp2
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)