Browse Source

when clearing addrman clear mapInfo and mapAddr

Github-Pull: #11252
Rebased-From: b86a42077a
tags/v0.15.1
Gregory Sanders 3 years ago
parent
commit
0fe2a9a196
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/addrman.h

+ 2
- 0
src/addrman.h 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()

Loading…
Cancel
Save