send ratchet session response for unidirectional traffic for I2CP

This commit is contained in:
orignal
2026-01-27 15:35:27 -05:00
parent 45b518f7e9
commit 8a177b2802
6 changed files with 78 additions and 37 deletions
+3 -1
View File
@@ -437,7 +437,9 @@ namespace client
{
uint8_t pub[32];
leaseSet->Encrypt (nullptr, pub);
if (memcmp (from->GetRemoteStaticKey (), pub, 32))
if (!memcmp (from->GetRemoteStaticKey (), pub, 32))
from->SetDestination (leaseSet->GetIdentHash ());
else
{
LogPrint (eLogError, "Destination: Remote LeaseSet static key mismatch");
leaseSet = nullptr;