mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #7788
f5eb2ce
wallet2: Don't auto lock device on process parsed blocks (tobtoht)
This commit is contained in:
commit
8c41d14ad5
1 changed files with 1 additions and 2 deletions
|
@ -2776,9 +2776,8 @@ void wallet2::process_parsed_blocks(uint64_t start_height, const std::vector<cry
|
||||||
{
|
{
|
||||||
if (tx_cache_data[i].empty())
|
if (tx_cache_data[i].empty())
|
||||||
continue;
|
continue;
|
||||||
tpool.submit(&waiter, [&hwdev, &gender, &tx_cache_data, i]() {
|
tpool.submit(&waiter, [&gender, &tx_cache_data, i]() {
|
||||||
auto &slot = tx_cache_data[i];
|
auto &slot = tx_cache_data[i];
|
||||||
boost::unique_lock<hw::device> hwdev_lock(hwdev);
|
|
||||||
for (auto &iod: slot.primary)
|
for (auto &iod: slot.primary)
|
||||||
gender(iod);
|
gender(iod);
|
||||||
for (auto &iod: slot.additional)
|
for (auto &iod: slot.additional)
|
||||||
|
|
Loading…
Reference in a new issue