Move CheckBlock() call to critical section

This prevents data race for CBlock::fChecked.
This commit is contained in:
Hennadii Stepanov committed 2018-11-30 12:40:57 +02:00
1 parent 60b20c869f
commit c5ed6e73d3
2 files changed
+5 -6

No files matched your search

-3
View File
@@ -1,9 +1,6 @@
# ThreadSanitizer suppressions
# ============================
# fChecked is theoretically racy, practically only in unit tests
race:CheckBlock
# WalletBatch (unidentified deadlock)
deadlock:WalletBatch