fixed typo

pull/1767/head
orignal 2 years ago
parent b72d1237d2
commit b678c989e2

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