[Pkg-bitcoin-commits] [bitcoin] 52/126: when clearing addrman clear mapInfo and mapAddr
Jonas Smedegaard
dr at jones.dk
Mon Nov 13 20:01:55 UTC 2017
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag debian/0.15.1_dfsg-1
in repository bitcoin.
commit 0fe2a9a196b2f81fed2ea84a5979e95f37094b22
Author: Gregory Sanders <gsanders87 at gmail.com>
Date: Tue Sep 5 17:32:06 2017 -0700
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 547088a..18f3062 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()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/bitcoin.git
More information about the Pkg-bitcoin-commits
mailing list