default net params to segnet4
This commit is contained in:
parent
fa1e7a332f
commit
3e3c028313
@ -35,8 +35,7 @@ var (
|
|||||||
|
|
||||||
// activeNetParams is a pointer to the parameters specific to the
|
// activeNetParams is a pointer to the parameters specific to the
|
||||||
// currently active bitcoin network.
|
// currently active bitcoin network.
|
||||||
//activeNetParams = &chaincfg.SegNetParams
|
activeNetParams = &chaincfg.SegNet4Params
|
||||||
activeNetParams = &chaincfg.TestNet3Params
|
|
||||||
|
|
||||||
btcdHomeDir = btcutil.AppDataDir("btcd", false)
|
btcdHomeDir = btcutil.AppDataDir("btcd", false)
|
||||||
defaultRPCKeyFile = filepath.Join(btcdHomeDir, "rpc.key")
|
defaultRPCKeyFile = filepath.Join(btcdHomeDir, "rpc.key")
|
||||||
@ -156,7 +155,7 @@ func loadConfig() (*config, error) {
|
|||||||
}
|
}
|
||||||
if cfg.SegNet {
|
if cfg.SegNet {
|
||||||
numNets++
|
numNets++
|
||||||
activeNetParams = &chaincfg.SegNetParams
|
activeNetParams = &chaincfg.SegNet4Params
|
||||||
}
|
}
|
||||||
if cfg.SimNet {
|
if cfg.SimNet {
|
||||||
numNets++
|
numNets++
|
||||||
|
Loading…
Reference in New Issue
Block a user