1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-06-18 15:07:47 +02:00

Fix second bootstrap node info

This commit is contained in:
jfreegman 2022-03-07 11:03:25 -05:00
parent 9ac8d517e9
commit 631b1d8b08
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

View File

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