Fixed problem with nodes broadcasting to themselves

pull/9/head
Dennis Schwerdel 2016-02-02 11:01:23 +01:00
parent 6c35047a97
commit 87cceca65f
2 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,10 @@
This project follows [semantic versioning](http://semver.org).
### UNRELEASED
- [fixed] Fixed problem with nodes broadcasting to themselves
### v0.4.2 (2016-01-19)
- [changed] Updated dependencies

View File

@ -267,7 +267,6 @@ impl<P: Protocol> GenericCloud<P> {
}
},
Message::Peers(peers) => {
self.peers.add(&peer);
for p in &peers {
if ! self.peers.contains(p) && ! self.blacklist_peers.contains(p) {
try!(self.connect(p, false));