diff --git a/toxcore/onion_client.c b/toxcore/onion_client.c index 8ba1fdc5..59190180 100644 --- a/toxcore/onion_client.c +++ b/toxcore/onion_client.c @@ -333,9 +333,6 @@ static int client_send_announce_request(Onion_Client *onion_c, uint32_t num, IP_ if (ping_id == NULL) ping_id = zero_ping_id; - Node_format dest_node; - dest_node.ip_port = dest; - memcpy(dest_node.client_id, dest_pubkey, crypto_box_PUBLICKEYBYTES); uint8_t request[ONION_ANNOUNCE_REQUEST_SIZE]; int len;