diff options
author | luigi1111 <luigi1111w@gmail.com> | 2021-08-02 18:50:25 -0400 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2021-08-02 18:50:25 -0400 |
commit | 8c41d14ad58daddf682d8d690e0f77e1c218a5fe (patch) | |
tree | e6e351a37be1e77809e208aefc6eac138acbdcb1 /src | |
parent | Merge pull request #7787 (diff) | |
parent | wallet2: Don't auto lock device on process parsed blocks (diff) | |
download | monero-8c41d14ad58daddf682d8d690e0f77e1c218a5fe.tar.xz |
Merge pull request #7788
f5eb2ce wallet2: Don't auto lock device on process parsed blocks (tobtoht)
Diffstat (limited to 'src')
-rw-r--r-- | src/wallet/wallet2.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 33f482a12..3d1cfddd0 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -2776,9 +2776,8 @@ void wallet2::process_parsed_blocks(uint64_t start_height, const std::vector<cry { if (tx_cache_data[i].empty()) continue; - tpool.submit(&waiter, [&hwdev, &gender, &tx_cache_data, i]() { + tpool.submit(&waiter, [&gender, &tx_cache_data, i]() { auto &slot = tx_cache_data[i]; - boost::unique_lock<hw::device> hwdev_lock(hwdev); for (auto &iod: slot.primary) gender(iod); for (auto &iod: slot.additional) |