Make nTimeBestReceived atomic
This commit is contained in:
parent
22b4966a29
commit
d8f2b8a8c0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue