From d9e4ba1280bc5aec5d4cc04c4c495ac9c923563d Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Sat, 4 Feb 2017 00:04:44 -0800 Subject: Eliminate a little copypasta. --- node/Switch.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'node/Switch.hpp') diff --git a/node/Switch.hpp b/node/Switch.hpp index ce1c40b3..9245c036 100644 --- a/node/Switch.hpp +++ b/node/Switch.hpp @@ -124,6 +124,7 @@ public: unsigned long doTimerTasks(uint64_t now); private: + bool _shouldUnite(const uint64_t now,const Address &source,const Address &destination); Address _sendWhoisRequest(const Address &addr,const Address *peersAlreadyConsulted,unsigned int numPeersAlreadyConsulted); bool _trySend(Packet &packet,bool encrypt); // packet is modified if return is true -- cgit v1.2.3