mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-05 13:11:57 +02:00
Make nTimeBestReceived atomic
This commit is contained in:
@ -36,7 +36,7 @@
|
||||
# error "Bitcoin cannot be compiled without assertions."
|
||||
#endif
|
||||
|
||||
int64_t nTimeBestReceived = 0; // Used only to inform the wallet of when we last received a block
|
||||
std::atomic<int64_t> nTimeBestReceived(0); // Used only to inform the wallet of when we last received a block
|
||||
|
||||
struct IteratorComparator
|
||||
{
|
||||
|
Reference in New Issue
Block a user