Browse Source

when clearing addrman clear mapInfo and mapAddr

0.16
Gregory Sanders 7 years ago
parent
commit
b86a42077a
  1. 2
      src/addrman.h

2
src/addrman.h

@ -472,6 +472,8 @@ public:
nTried = 0; nTried = 0;
nNew = 0; nNew = 0;
nLastGood = 1; //Initially at 1 so that "never" is strictly worse. nLastGood = 1; //Initially at 1 so that "never" is strictly worse.
mapInfo.clear();
mapAddr.clear();
} }
CAddrMan() CAddrMan()

Loading…
Cancel
Save