Revert
Some checks failed
Build / build (pull_request) Successful in 2m21s
Deploy Contract / deploy (pull_request) Successful in 1m3s
Lint / Run golangci-lint (pull_request) Successful in 4m33s
Lint / Run flake8 on python integration tests (pull_request) Successful in 3m15s
Tests / test-unit (pull_request) Has been cancelled
Tests / sdk_tests (pull_request) Has been cancelled
Tests / test-importer (pull_request) Has been cancelled
Tests / test-rpc (pull_request) Has been cancelled

This commit is contained in:
Thomas E Lackey 2024-01-22 23:28:29 -06:00
parent ba563ac7ab
commit 1b37f46058

View File

@ -37,7 +37,7 @@ func InitConfig(cmd *cobra.Command) error {
}
}
if err := viper.BindPFlag(flags.FlagChainID, cmd.Flags().Lookup(flags.FlagChainID)); err != nil {
if err := viper.BindPFlag(flags.FlagChainID, cmd.PersistentFlags().Lookup(flags.FlagChainID)); err != nil {
return err
}