alexdovzhanyn / elixium_core

A privacy-preserving decentralized application network
https://www.elixiumnetwork.org/
281 stars 37 forks source link

When receiving a list of Peer IPs from another peer, filter out own IP #72

Closed alexdovzhanyn closed 5 years ago

alexdovzhanyn commented 6 years ago

Sometimes a peer might send us back our own IP. Let's filter our IP out and not save it to our peer store, as this will eventually make us open a connection to ourselves.

fantypants commented 5 years ago

Oops we forgot to close this haha