Skip to content

Commit f16b099

Browse files
authored
fix(multiplexer): v2 upgrade height (#6202)
Closes #6177 The multiplexer was setting the v2 upgrade height to `0`. Short term: this PR adds a check to only append the `--v2-upgrade-height` flag if it isn't set to 0. Long term: remove the ldflags entirely in #6197
1 parent 1973423 commit f16b099

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/celestia-appd/cmd/modify_root_command_multiplexer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func modifyRootCommand(rootCommand *cobra.Command) {
5757
}
5858

5959
v3Args := defaultArgs
60-
if v2UpgradeHeight != "" {
60+
if v2UpgradeHeight != "" && v2UpgradeHeight != "0" {
6161
v3Args = append(v3Args, "--v2-upgrade-height="+v2UpgradeHeight)
6262
}
6363

0 commit comments

Comments
 (0)