refactor: Avoid recursive locking in CAddrMan::Clear
Co-authored-by: John Newbery <john@johnnewbery.com>
This commit is contained in:
1 parent
f79a664314
commit
b138973a8b
1 file changed
+1
-1
+1
-1
@@ -299,7 +299,7 @@ public:
|
||||
{
|
||||
LOCK(cs);
|
||||
|
||||
Clear();
|
||||
assert(vRandom.empty());
|
||||
|
||||
Format format;
|
||||
s_ >> Using<CustomUintFormatter<1>>(format);
|
||||
|
||||
Reference in new issue
Block a user