Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

Commit

Permalink
fix repository init error (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
zl03jsj authored Aug 3, 2021
1 parent 30e4156 commit ae7e6bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/venus-sealer/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ var initCmd = &cli.Command{

log.Info("Checking if repo exists")

cfgPath := cctx.String("data")
cfgPath := cctx.String("config")
defaultCfg.ConfigPath = cfgPath

exit, err := config.ConfigExist(defaultCfg.DataDir)
Expand Down

0 comments on commit ae7e6bf

Please sign in to comment.