From 9b28f725e23120e86f63ed07b285c8592d977323 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Mon, 28 Jun 2021 18:28:56 +0100 Subject: [PATCH] Fix core_test.go --- src/core/core_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/core_test.go b/src/core/core_test.go index 9a2f230f..dd60af21 100644 --- a/src/core/core_test.go +++ b/src/core/core_test.go @@ -11,11 +11,12 @@ import ( "github.com/gologme/log" "github.com/yggdrasil-network/yggdrasil-go/src/config" + "github.com/yggdrasil-network/yggdrasil-go/src/defaults" ) // GenerateConfig produces default configuration with suitable modifications for tests. func GenerateConfig() *config.NodeConfig { - cfg := config.GenerateConfig() + cfg := defaults.GenerateConfig() cfg.AdminListen = "none" cfg.Listen = []string{"tcp://127.0.0.1:0"} cfg.IfName = "none"