mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
config: add default network value
This commit is contained in:
parent
048a365e02
commit
d229a1a607
1 changed files with 2 additions and 1 deletions
|
|
@ -13,6 +13,7 @@ import (
|
|||
var (
|
||||
loopDirBase = btcutil.AppDataDir("loop", false)
|
||||
|
||||
defaultNetwork = "mainnet"
|
||||
defaultLogLevel = "info"
|
||||
defaultLogDirname = "logs"
|
||||
defaultLogFilename = "loopd.log"
|
||||
|
|
@ -75,7 +76,7 @@ const (
|
|||
// DefaultConfig returns all default values for the Config struct.
|
||||
func DefaultConfig() Config {
|
||||
return Config{
|
||||
Network: "mainnet",
|
||||
Network: defaultNetwork,
|
||||
RPCListen: "localhost:11010",
|
||||
RESTListen: "localhost:8081",
|
||||
Server: &loopServerConfig{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue