Browse Source

remove commented code

cl-refactor
subtly 10 years ago
parent
commit
29cce7b80d
  1. 4
      libp2p/NodeTable.cpp

4
libp2p/NodeTable.cpp

@ -70,10 +70,6 @@ shared_ptr<NodeEntry> NodeTable::addNode(Public const& _pubk, bi::udp::endpoint
shared_ptr<NodeEntry> 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<NodeEntry>());
// ping address if nodeid is empty
if (!_node.id)
{

Loading…
Cancel
Save