Skip to content

Commit

Permalink
added back the chain-id
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMarstonConnell committed Dec 7, 2022
1 parent 3c97239 commit 21a56ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,6 @@ dependency-graph.png
*.synctex.gz
contract_tests/*
app.test

mytestnet
_build
2 changes: 2 additions & 0 deletions cmd/canined/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) {
}

initRootCmd(rootCmd, encodingConfig)
rootCmd.PersistentFlags().String(flags.FlagChainID, "", "The network chain ID")

return rootCmd, encodingConfig
}
Expand Down Expand Up @@ -174,6 +175,7 @@ func txCommand() *cobra.Command {
)

app.ModuleBasics.AddTxCommands(cmd)
cmd.PersistentFlags().String(flags.FlagChainID, "", "The network chain ID")
return cmd
}

Expand Down

0 comments on commit 21a56ee

Please sign in to comment.