Skip to content

Commit d229a1a

Browse files
committed
config: add default network value
1 parent 048a365 commit d229a1a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

loopd/config.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import (
1313
var (
1414
loopDirBase = btcutil.AppDataDir("loop", false)
1515

16+
defaultNetwork = "mainnet"
1617
defaultLogLevel = "info"
1718
defaultLogDirname = "logs"
1819
defaultLogFilename = "loopd.log"
@@ -75,7 +76,7 @@ const (
7576
// DefaultConfig returns all default values for the Config struct.
7677
func DefaultConfig() Config {
7778
return Config{
78-
Network: "mainnet",
79+
Network: defaultNetwork,
7980
RPCListen: "localhost:11010",
8081
RESTListen: "localhost:8081",
8182
Server: &loopServerConfig{

0 commit comments

Comments
 (0)