Skip to content

Commit

Permalink
fix: celestia namespace retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
artemijspavlovs committed Aug 12, 2024
1 parent 430a742 commit a0dd6f6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/rollapp/run/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,6 @@ func Cmd() *cobra.Command {
}

var daConfig string
dymintConfigPath := sequencer.GetDymintFilePath(home)
daNamespace := damanager.DataLayer.GetNamespaceID()

switch nodeType {
case "sequencer":
Expand All @@ -427,6 +425,9 @@ func Cmd() *cobra.Command {

}

dymintConfigPath := sequencer.GetDymintFilePath(home)
daNamespace := damanager.DataLayer.GetNamespaceID()

pterm.Info.Println("updating dymint configuration")
_ = globalutils.UpdateFieldInToml(
dymintConfigPath,
Expand Down

0 comments on commit a0dd6f6

Please sign in to comment.