when clearing addrman clear mapInfo and mapAddr
This commit is contained in:
parent
3f726c99f8
commit
b86a42077a
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue