Update tests to use a working bootstrap node

This commit is contained in:
Robin Linden 2019-11-02 15:35:21 +01:00
parent 1f89a57180
commit f6235b5f8d
No known key found for this signature in database
GPG Key ID: 601A604B7E605776
2 changed files with 11 additions and 11 deletions

View File

@ -8,10 +8,10 @@
#include "check_compat.h"
static uint8_t const key[] = {
0x2C, 0x28, 0x9F, 0x9F, 0x37, 0xC2, 0x0D, 0x09,
0xDA, 0x83, 0x56, 0x55, 0x88, 0xBF, 0x49, 0x6F,
0xAB, 0x37, 0x64, 0x85, 0x3F, 0xA3, 0x81, 0x41,
0x81, 0x7A, 0x72, 0xE3, 0xF1, 0x8A, 0xCA, 0x0B,
0x02, 0x80, 0x7C, 0xF4, 0xF8, 0xBB, 0x8F, 0xB3,
0x90, 0xCC, 0x37, 0x94, 0xBD, 0xF1, 0xE8, 0x44,
0x9E, 0x9A, 0x83, 0x92, 0xC5, 0xD3, 0xF2, 0x20,
0x00, 0x19, 0xDA, 0x9F, 0x1E, 0x81, 0x2E, 0x46,
};
int main(void)
@ -20,7 +20,7 @@ int main(void)
Tox *tox_udp = tox_new_log(nullptr, nullptr, nullptr);
tox_bootstrap(tox_udp, "163.172.136.118", 33445, key, nullptr);
tox_bootstrap(tox_udp, "78.46.73.141", 33445, key, nullptr);
printf("Waiting for connection");

View File

@ -8,10 +8,10 @@
#include "check_compat.h"
static uint8_t const key[] = {
0x2C, 0x28, 0x9F, 0x9F, 0x37, 0xC2, 0x0D, 0x09,
0xDA, 0x83, 0x56, 0x55, 0x88, 0xBF, 0x49, 0x6F,
0xAB, 0x37, 0x64, 0x85, 0x3F, 0xA3, 0x81, 0x41,
0x81, 0x7A, 0x72, 0xE3, 0xF1, 0x8A, 0xCA, 0x0B,
0x02, 0x80, 0x7C, 0xF4, 0xF8, 0xBB, 0x8F, 0xB3,
0x90, 0xCC, 0x37, 0x94, 0xBD, 0xF1, 0xE8, 0x44,
0x9E, 0x9A, 0x83, 0x92, 0xC5, 0xD3, 0xF2, 0x20,
0x00, 0x19, 0xDA, 0x9F, 0x1E, 0x81, 0x2E, 0x46,
};
int main(void)
@ -23,8 +23,8 @@ int main(void)
Tox *tox_tcp = tox_new_log(opts, nullptr, nullptr);
tox_options_free(opts);
tox_bootstrap(tox_tcp, "163.172.136.118", 33445, key, nullptr);
tox_add_tcp_relay(tox_tcp, "163.172.136.118", 33445, key, nullptr);
tox_bootstrap(tox_tcp, "78.46.73.141", 33445, key, nullptr);
tox_add_tcp_relay(tox_tcp, "78.46.73.141", 33445, key, nullptr);
printf("Waiting for connection");