Skip to content

Commit

Permalink
when clearing addrman clear mapInfo and mapAddr
Browse files Browse the repository at this point in the history
Github-Pull: #11252
Rebased-From: b86a420
  • Loading branch information
instagibbs authored and MarcoFalke committed Oct 4, 2017
1 parent 6b4d9f2 commit 0fe2a9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/addrman.h
Expand Up @@ -472,6 +472,8 @@ class CAddrMan
nTried = 0;
nNew = 0;
nLastGood = 1; //Initially at 1 so that "never" is strictly worse.
mapInfo.clear();
mapAddr.clear();
}

CAddrMan()
Expand Down

0 comments on commit 0fe2a9a

Please sign in to comment.