Fix sync test crash: add null terminators to seed_nodes

This commit is contained in:
Matt Hess
2025-12-24 05:05:22 +00:00
parent 2d290833ac
commit e15484c14c

View File

@@ -52,9 +52,9 @@ LOG_CATEGORY(P2PServer)
static constexpr char saved_peer_list_file_name[] = "p2pool_peers.txt";
static constexpr char saved_onion_peer_list_file_name[] = "p2pool_onion_peers.txt";
static const char* seed_nodes[] = { "seed01.whiskymine.io", "seed02.whiskymine.io" };
static const char* seed_nodes_mini[] = { "seed01.whiskymine.io", "seed02.whiskymine.io" };
static const char* seed_nodes_nano[] = { "seed01.whiskymine.io", "seed02.whiskymine.io" };
static const char* seed_nodes[] = { "seed01.whiskymine.io", "" };
static const char* seed_nodes_mini[] = { "seed01.whiskymine.io", "" };
static const char* seed_nodes_nano[] = { "seed01.whiskymine.io", "" };
static constexpr int DEFAULT_BACKLOG = 16;
static constexpr uint64_t DEFAULT_BAN_TIME = 600;