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")