Browse Source

code review. collapse if statement.

cl-refactor
subtly 10 years ago
parent
commit
eaa5908a3d
  1. 1
      libp2p/NodeTable.cpp

1
libp2p/NodeTable.cpp

@ -425,7 +425,6 @@ void NodeTable::onReceived(UDPSocketFace*, bi::udp::endpoint const& _from, bytes
if (!evictionEntry)
{
if (auto n = nodeEntry(nodeid))
if (n->pending)
n->pending = false;
}
else if (m_pubkDiscoverPings.count(_from.address()))

Loading…
Cancel
Save