Make nTimeBestReceived atomic

pull/9708/head
Matt Corallo 8 years ago
parent 22b4966a29
commit d8f2b8a8c0

@ -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
{

Loading…
Cancel
Save