refactor: Avoid recursive locking in CAddrMan::Clear

Co-authored-by: John Newbery <john@johnnewbery.com>
This commit is contained in:
Hennadii Stepanov 2021-05-23 20:53:03 +03:00
parent f79a664314
commit b138973a8b
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

View File

@ -299,7 +299,7 @@ public:
{
LOCK(cs);
Clear();
assert(vRandom.empty());
Format format;
s_ >> Using<CustomUintFormatter<1>>(format);