1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-22 16:13:02 +01:00

Connect second testnet bootstrap node to ipv4 instead of 6

This commit is contained in:
jfreegman 2022-03-09 16:02:42 -05:00
parent 4f936e5f9c
commit 32efac931c
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

View File

@ -593,10 +593,10 @@ int load_DHT_nodeslist(void)
memcpy(node->ip4, TESTNET_IP, sizeof(TESTNET_IP)); memcpy(node->ip4, TESTNET_IP, sizeof(TESTNET_IP));
struct Node *node2 = &Nodes.list[1]; struct Node *node2 = &Nodes.list[1];
node2->have_ip6 = true; node2->have_ip4 = true;
node2->port = TESTNET_PORT2; node2->port = TESTNET_PORT2;
memcpy(node2->key, TESTNET_KEY2, sizeof(TESTNET_KEY2)); memcpy(node2->key, TESTNET_KEY2, sizeof(TESTNET_KEY2));
memcpy(node2->ip6, TESTNET_IP2, sizeof(TESTNET_IP2)); memcpy(node2->ip4, TESTNET_IP2, sizeof(TESTNET_IP2));
Nodes.count = 2; Nodes.count = 2;