diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-07-22 20:56:27 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-07-23 11:31:05 +0200 |
commit | fa32024d51c098441623e246f304a80f011e29d1 (patch) | |
tree | e2c6bc1c7dcc2454241093b8bc7590716d228227 /src/test/net_tests.cpp | |
parent | fab755b77f88873f01cbd988051de7ad3f0150de (diff) |
Add missing GUARDED_BY to CAddrMan::insecure_rand
Diffstat (limited to 'src/test/net_tests.cpp')
-rw-r--r-- | src/test/net_tests.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/net_tests.cpp b/src/test/net_tests.cpp index 46f88c1282..acbbf357d2 100644 --- a/src/test/net_tests.cpp +++ b/src/test/net_tests.cpp @@ -37,6 +37,7 @@ public: //! Ensure that bucket placement is always the same for testing purposes. void MakeDeterministic() { + LOCK(cs); nKey.SetNull(); insecure_rand = FastRandomContext(true); } |