get lock before scanning txs

This commit is contained in:
woodser
2024-03-12 17:27:48 -04:00
parent ad0b3972de
commit 6d6d203f9d
+1
View File
@@ -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);
} }