From 29cce7b80d6a5651a99ad39398c46e7258c65c2a Mon Sep 17 00:00:00 2001 From: subtly Date: Wed, 18 Mar 2015 15:10:52 +0100 Subject: [PATCH] remove commented code --- libp2p/NodeTable.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libp2p/NodeTable.cpp b/libp2p/NodeTable.cpp index dbd0eb06d..fa00e9ce2 100644 --- a/libp2p/NodeTable.cpp +++ b/libp2p/NodeTable.cpp @@ -70,10 +70,6 @@ shared_ptr NodeTable::addNode(Public const& _pubk, bi::udp::endpoint shared_ptr NodeTable::addNode(Node const& _node) { - // TODO: Filter private addresses (After requirePeer() is added to Host and tests and Neighbors are updated) -// if (isPrivateAddress(_node.endpoint.udp.address()) || isPrivateAddress(_node.endpoint.tcp.address())) -// return move(shared_ptr()); - // ping address if nodeid is empty if (!_node.id) {