Skip to content

Commit e656ced

Browse files
committed
fix init call
1 parent 5c81843 commit e656ced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/testapp/cmd/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func InitCmd() *cobra.Command {
8989
// Add flags to the command
9090
rollconf.AddFlags(initCmd)
9191
initCmd.Flags().String(rollgenesis.ChainIDFlag, "", "chain ID must be set. It is used in the genesis file and to identify the network (examples: ev-1. xo-1)")
92-
InitCmd().MarkFlagsOneRequired(rollgenesis.ChainIDFlag)
92+
initCmd.MarkFlagsOneRequired(rollgenesis.ChainIDFlag)
9393

9494
return initCmd
9595
}

0 commit comments

Comments
 (0)