diff --git a/config.go b/config.go index 410719c2..5b14e77c 100644 --- a/config.go +++ b/config.go @@ -72,7 +72,6 @@ type config struct { SPVHostAdr string `long:"spvhostadr" description:"Address of full bitcoin node. It is used in SPV mode."` TestNet3 bool `long:"testnet" description:"Use the test network"` SimNet bool `long:"simnet" description:"Use the simulation test network"` - SegNet bool `long:"segnet" description:"Use the segragated witness test network"` DebugHTLC bool `long:"debughtlc" description:"Activate the debug htlc mode. With the debug HTLC mode, all payments sent use a pre-determined R-Hash. Additionally, all HTLC's sent to a node with the debug HTLC R-Hash are immediately settled in the next available state transition."` MaxPendingChannels int `long:"maxpendingchannels" description:"The maximum number of incoming pending channels permitted per peer."` } diff --git a/params.go b/params.go index 92a99119..7d119f9c 100644 --- a/params.go +++ b/params.go @@ -4,7 +4,7 @@ import "github.com/roasbeef/btcd/chaincfg" // activeNetParams is a pointer to the parameters specific to the currently // active bitcoin network. -var activeNetParams = segNetParams +var activeNetParams = testNetParams // netParams couples the p2p parameters of a network with the corresponding RPC // port of a daemon running on the particular network. @@ -19,13 +19,6 @@ var testNetParams = netParams{ rpcPort: "18334", } -// segNetParams contains parameters specific to the segregated witness test -// network. -var segNetParams = netParams{ - Params: &chaincfg.SegNet4Params, - rpcPort: "28902", -} - // simNetParams contains parameters specific to the simulation test network. var simNetParams = netParams{ Params: &chaincfg.SimNetParams,