mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
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
|
||||
// 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++
|
||||
|
Loading…
Reference in New Issue
Block a user