From 3e3c028313f01bc55e86258a930df28183eafaee Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Sun, 24 Apr 2016 12:36:45 -0700 Subject: [PATCH] default net params to segnet4 --- config.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config.go b/config.go index 9554305ce..8c90e41fc 100644 --- a/config.go +++ b/config.go @@ -35,8 +35,7 @@ var ( // activeNetParams is a pointer to the parameters specific to the // currently active bitcoin network. - //activeNetParams = &chaincfg.SegNetParams - activeNetParams = &chaincfg.TestNet3Params + activeNetParams = &chaincfg.SegNet4Params btcdHomeDir = btcutil.AppDataDir("btcd", false) defaultRPCKeyFile = filepath.Join(btcdHomeDir, "rpc.key") @@ -156,7 +155,7 @@ func loadConfig() (*config, error) { } if cfg.SegNet { numNets++ - activeNetParams = &chaincfg.SegNetParams + activeNetParams = &chaincfg.SegNet4Params } if cfg.SimNet { numNets++