when clearing addrman clear mapInfo and mapAddr

This commit is contained in:
Gregory Sanders 2017-09-05 17:32:06 -07:00
parent 3f726c99f8
commit b86a42077a
1 changed files with 2 additions and 0 deletions

View File

@ -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()