mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-25 22:34:27 +00:00
when clearing addrman clear mapInfo and mapAddr
Github-Pull: #11252 Rebased-From: b86a42077a134888c53bfd406b87bf0a39c78264
This commit is contained in:
parent
6b4d9f2736
commit
0fe2a9a196
@ -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…
x
Reference in New Issue
Block a user