Browse Source

fixed typo

pull/1767/head
orignal 3 years ago
parent
commit
b678c989e2
  1. 2
      libi2pd/SSU2Session.cpp

2
libi2pd/SSU2Session.cpp

@ -63,7 +63,7 @@ namespace transport @@ -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);

Loading…
Cancel
Save