Browse Source

don't set destination to routers

pull/1565/head
orignal 4 years ago
parent
commit
49bf735c22
  1. 3
      libi2pd/Garlic.cpp

3
libi2pd/Garlic.cpp

@ -740,7 +740,8 @@ namespace garlic
session = std::make_shared<ECIESX25519AEADRatchetSession> (this, true); session = std::make_shared<ECIESX25519AEADRatchetSession> (this, true);
session->SetRemoteStaticKey (staticKey); session->SetRemoteStaticKey (staticKey);
} }
session->SetDestination (destination->GetIdentHash ()); // TODO: remove if (destination->IsDestination ())
session->SetDestination (destination->GetIdentHash ()); // TODO: remove
return session; return session;
} }
else else

Loading…
Cancel
Save