mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-10-17 07:11:30 +02:00
get lock before scanning txs
This commit is contained in:
@@ -1583,6 +1583,7 @@ namespace monero {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// scan txs
|
// scan txs
|
||||||
|
boost::lock_guard<boost::mutex> guarg(m_sync_mutex); // synchronize scanning
|
||||||
m_w2->scan_tx(tx_hashes);
|
m_w2->scan_tx(tx_hashes);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user