Skip to content

Commit

Permalink
Make nStartingHeight atomic
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBlueMatt committed Feb 10, 2017
1 parent 512731b commit 96f42d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net.h
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ class CNode

public:
uint256 hashContinue;
int nStartingHeight;
std::atomic<int> nStartingHeight;

// flood relay
std::vector<CAddress> vAddrToSend;
Expand Down

0 comments on commit 96f42d8

Please sign in to comment.