mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 10:38:42 +01:00
when clearing addrman clear mapInfo and mapAddr
This commit is contained in:
parent
3f726c99f8
commit
b86a42077a
@ -472,6 +472,8 @@ public:
|
||||
nTried = 0;
|
||||
nNew = 0;
|
||||
nLastGood = 1; //Initially at 1 so that "never" is strictly worse.
|
||||
mapInfo.clear();
|
||||
mapAddr.clear();
|
||||
}
|
||||
|
||||
CAddrMan()
|
||||
|
Loading…
Reference in New Issue
Block a user