mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 07:28:59 +01:00
refactor: Avoid recursive locking in CAddrMan::Clear
Co-authored-by: John Newbery <john@johnnewbery.com>
This commit is contained in:
@@ -299,7 +299,7 @@ public:
|
|||||||
{
|
{
|
||||||
LOCK(cs);
|
LOCK(cs);
|
||||||
|
|
||||||
Clear();
|
assert(vRandom.empty());
|
||||||
|
|
||||||
Format format;
|
Format format;
|
||||||
s_ >> Using<CustomUintFormatter<1>>(format);
|
s_ >> Using<CustomUintFormatter<1>>(format);
|
||||||
|
|||||||
Reference in New Issue
Block a user