Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Oct 13, 2022
1 parent ebbd8a5 commit ca2a648
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions x/genutil/client/cli/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,7 @@ func InitCmd(mbm module.BasicManager, defaultNodeHome string) *cobra.Command {
return fmt.Errorf("genesis.json file already exists: %v", genFile)
}

// We overwrite the SDK default for side-effects, namely:
// - setting the default bond denom in the app state
// Note, that is should not be done at any other place.
// This can break tests.
// Overwrites the SDK default denom for side-effects
if defaultDenom != "" {
sdk.DefaultBondDenom = defaultDenom
}
Expand Down

0 comments on commit ca2a648

Please sign in to comment.