From 631b1d8b0881467eaf2e97b02c3ff5cb0d4d6362 Mon Sep 17 00:00:00 2001 From: jfreegman Date: Mon, 7 Mar 2022 11:03:25 -0500 Subject: [PATCH] Fix second bootstrap node info --- src/bootstrap.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/bootstrap.c b/src/bootstrap.c index 191f451..cfb282a 100644 --- a/src/bootstrap.c +++ b/src/bootstrap.c @@ -93,13 +93,13 @@ static uint8_t const TESTNET_KEY[] = { #define TESTNET_IP "172.93.52.70" static uint8_t const TESTNET_KEY2[] = { - 0x7C, 0x26, 0x68, 0x85, 0xC1, 0x63, 0x7D, 0x39, - 0x1C, 0x7C, 0x64, 0xE1, 0x73, 0x64, 0x96, 0x08, - 0xD0, 0x32, 0xA2, 0x48, 0xCD, 0xBD, 0xCA, 0xD1, - 0x66, 0x40, 0xEB, 0xC3, 0xED, 0xC6, 0xF7, 0x23, + 0x5E, 0x47, 0xBA, 0x1D, 0xC3, 0x91, 0x3E, 0xB2, + 0xCB, 0xF2, 0xD6, 0x4C, 0xE4, 0xF2, 0x3D, 0x8B, + 0xFE, 0x53, 0x91, 0xBF, 0xAB, 0xE5, 0xC4, 0x3C, + 0x5B, 0xAD, 0x13, 0xF0, 0xA4, 0x14, 0xCD, 0x77, }; -#define TESTNET_PORT2 39445 +#define TESTNET_PORT2 38445 #define TESTNET_IP2 "tox.plastiras.org" static struct Thread_Data { @@ -593,10 +593,10 @@ int load_DHT_nodeslist(void) memcpy(node->ip4, TESTNET_IP, sizeof(TESTNET_IP)); struct Node *node2 = &Nodes.list[1]; - node2->have_ip4 = true; + node2->have_ip6 = true; node2->port = TESTNET_PORT2; memcpy(node2->key, TESTNET_KEY2, sizeof(TESTNET_KEY2)); - memcpy(node2->ip4, TESTNET_IP2, sizeof(TESTNET_IP2)); + memcpy(node2->ip6, TESTNET_IP2, sizeof(TESTNET_IP2)); Nodes.count = 2;