don't set destination to routers

This commit is contained in:
orignal 2020-10-21 18:59:16 -04:00
parent cb55944ff6
commit 49bf735c22

View file

@ -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