From 16cc06a31c80bad7fdc291014250c3eb1caa977a Mon Sep 17 00:00:00 2001 From: mmsqe Date: Tue, 10 Dec 2024 09:37:18 +0800 Subject: [PATCH] v2 only --- systemtests/system.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemtests/system.go b/systemtests/system.go index dad1ad6cb067..5b964ee03327 100644 --- a/systemtests/system.go +++ b/systemtests/system.go @@ -732,7 +732,7 @@ func (s *SystemUnderTest) AddFullnode(t *testing.T, beforeStart ...func(nodeNumb configFile := filepath.Join(configPath, tomlFile) _ = os.Remove(configFile) _ = MustCopyFile(filepath.Join(WorkDir, s.nodePath(0), "config", tomlFile), configFile) - if tomlFile == "app.toml" { + if tomlFile == "app.toml" && IsV2() { file := filepath.Join(WorkDir, s.nodePath(nodeNumber), "config", tomlFile) EditToml(file, func(doc *tomledit.Document) { SetValue(doc, fmt.Sprintf("%s:%d", node.IP, DefaultRestPort+nodeNumber), "rest", "address")