Skip to content

Commit

Permalink
relaycfg: fix upgrade_channel regression
Browse files Browse the repository at this point in the history
  • Loading branch information
a3s7p committed Aug 1, 2022
1 parent 97c9fc6 commit 0cfbd71
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion relaycfg/cfg.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ func (c *C) Validate() error {
}
} else {
for _, sc := range c.Contracts {
sc.UpgradeChannel = "default"
if sc.UpgradeChannel == "" {
sc.UpgradeChannel = "default"
}
}
}

Expand Down

0 comments on commit 0cfbd71

Please sign in to comment.