From 0fe2a9a196b2f81fed2ea84a5979e95f37094b22 Mon Sep 17 00:00:00 2001 From: Gregory Sanders Date: Tue, 5 Sep 2017 17:32:06 -0700 Subject: [PATCH] when clearing addrman clear mapInfo and mapAddr Github-Pull: #11252 Rebased-From: b86a42077a134888c53bfd406b87bf0a39c78264 --- src/addrman.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/addrman.h b/src/addrman.h index 547088aedf..18f3062287 100644 --- a/src/addrman.h +++ b/src/addrman.h @@ -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()