Disable --mainnet flag (hardcoded false).
This commit is contained in:
parent
284191ec4b
commit
a5c7079fdf
1 changed files with 4 additions and 1 deletions
|
@ -45,7 +45,7 @@ type config struct {
|
|||
DataDir string `short:"D" long:"datadir" description:"Directory to store wallets and transactions"`
|
||||
Username string `short:"u" long:"username" description:"Username for btcd authorization"`
|
||||
Password string `short:"P" long:"password" description:"Password for btcd authorization"`
|
||||
MainNet bool `long:"mainnet" description:"Use the main Bitcoin network (default testnet3)"`
|
||||
MainNet bool `long:"mainnet" description:"*DISABLED* Use the main Bitcoin network (default testnet3)"`
|
||||
}
|
||||
|
||||
// btcwalletHomeDir returns an OS appropriate home directory for btcwallet.
|
||||
|
@ -144,5 +144,8 @@ func loadConfig() (*config, []string, error) {
|
|||
return nil, nil, err
|
||||
}
|
||||
|
||||
// TODO(jrick): Enable mainnet support again when ready.
|
||||
cfg.MainNet = false
|
||||
|
||||
return &cfg, remainingArgs, nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue