Browse Source

don't set destination to routers

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

1
libi2pd/Garlic.cpp

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

Loading…
Cancel
Save