Skip to content

Commit

Permalink
fix conf file create
Browse files Browse the repository at this point in the history
  • Loading branch information
theedtron committed Apr 22, 2024
1 parent e2c600e commit 1cf0446
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/btcctl/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,10 @@ func loadConfig() (*config, []string, error) {
fmt.Fprintf(os.Stderr, "Error creating Btcctl directory: %v\n",
err)
}

os.Create(filepath.Join(btcctlHomeDir, "btcctl.conf"))
}

os.Create(filepath.Join(btcctlHomeDir, "btcctl.conf"))

preCfg.ConfigFile = filepath.Join(btcctlHomeDir, "btcctl.conf")
cfg.RPCCert = filepath.Join(btcdHomeDir, "rpc.cert")

Expand Down

0 comments on commit 1cf0446

Please sign in to comment.