From b678c989e285c2db3fb70ef0322e33a7293c0347 Mon Sep 17 00:00:00 2001 From: orignal Date: Sun, 12 Jun 2022 17:26:19 -0400 Subject: [PATCH] fixed typo --- libi2pd/SSU2Session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libi2pd/SSU2Session.cpp b/libi2pd/SSU2Session.cpp index df53d285..8cad9626 100644 --- a/libi2pd/SSU2Session.cpp +++ b/libi2pd/SSU2Session.cpp @@ -63,7 +63,7 @@ namespace transport if (!session || !relayTag) return false; // find local adddress to introduce auto localAddress = session->FindLocalAddress (); - if (localAddress) return false; + if (!localAddress) return false; // create nonce uint32_t nonce; RAND_bytes ((uint8_t *)&nonce, 4);