mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-11 15:48:05 +00:00
when clearing addrman clear mapInfo and mapAddr
This commit is contained in:
parent
3f726c99f8
commit
b86a42077a
@ -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…
Reference in New Issue
Block a user