Skip to content

Commit

Permalink
v2 only
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Dec 10, 2024
1 parent 49749a8 commit 16cc06a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion systemtests/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 16cc06a

Please sign in to comment.