fixed typo

This commit is contained in:
orignal 2022-06-12 17:26:19 -04:00
parent b72d1237d2
commit b678c989e2

View File

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