From a4526db9bf41591aafc15b0e92bfe3ba0132c570 Mon Sep 17 00:00:00 2001 From: orignal Date: Thu, 28 Aug 2014 13:51:26 -0400 Subject: [PATCH] improved exploratory --- NetDb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NetDb.cpp b/NetDb.cpp index a88e5fb0..7f146e85 100644 --- a/NetDb.cpp +++ b/NetDb.cpp @@ -685,8 +685,8 @@ namespace data } // new requests auto exploratoryPool = i2p::tunnel::tunnels.GetExploratoryPool (); - auto outbound = exploratoryPool ? exploratoryPool->GetNextOutboundTunnel () : nullptr; - auto inbound = exploratoryPool ? exploratoryPool->GetNextInboundTunnel () : nullptr; + auto outbound = exploratoryPool ? exploratoryPool->GetNextOutboundTunnel () : i2p::tunnel::tunnels.GetNextOutboundTunnel (); + auto inbound = exploratoryPool ? exploratoryPool->GetNextInboundTunnel () : i2p::tunnel::tunnels.GetNextInboundTunnel (); bool throughTunnels = outbound && inbound; CryptoPP::RandomNumberGenerator& rnd = i2p::context.GetRandomNumberGenerator ();