mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
Add missing GUARDED_BY to CAddrMan::insecure_rand
This commit is contained in:
@@ -27,7 +27,7 @@ class CAddrManDeterministic : public CAddrMan
|
||||
public:
|
||||
void MakeDeterministic(const uint256& random_seed)
|
||||
{
|
||||
insecure_rand = FastRandomContext{random_seed};
|
||||
WITH_LOCK(cs, insecure_rand = FastRandomContext{random_seed});
|
||||
Clear();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user