diff --git a/config.go b/config.go index d4b6695..d141639 100644 --- a/config.go +++ b/config.go @@ -390,7 +390,7 @@ func loadConfig() (*config, []string, error) { // Exit if you try to use a simulation wallet with a standard // data directory. - if (!cfg.AppDataDir.ExplicitlySet() || !cfg.DataDir.ExplicitlySet()) && cfg.CreateTemp { + if !(cfg.AppDataDir.ExplicitlySet() || cfg.DataDir.ExplicitlySet()) && cfg.CreateTemp { fmt.Fprintln(os.Stderr, "Tried to create a temporary simulation "+ "wallet, but failed to specify data directory!") os.Exit(0)