refactor: Avoid recursive locking in CAddrMan::Clear

Co-authored-by: John Newbery <john@johnnewbery.com>
pull/19238/head
Hennadii Stepanov 4 years ago
parent f79a664314
commit b138973a8b
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

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

Loading…
Cancel
Save