Skip to content

Commit 4d506da

Browse files
config: add testnet4 network option
1 parent 55f5682 commit 4d506da

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

config.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ type Config struct {
180180
// before the configuration is loaded and will set the correct flag on
181181
// `lnd.bitcoin.mainnet|testnet|regtest|signet` and also for the other
182182
// daemons. That way only one global network flag is needed.
183-
Network string `long:"network" description:"The network the UI and all its components run on" choice:"regtest" choice:"testnet" choice:"mainnet" choice:"simnet" choice:"signet"`
183+
Network string `long:"network" description:"The network the UI and all its components run on" choice:"regtest" choice:"testnet" choice:"testnet4" choice:"mainnet" choice:"simnet" choice:"signet"`
184184

185185
Remote *subservers.RemoteConfig `group:"Remote mode options (use when lnd-mode=remote)" namespace:"remote"`
186186

@@ -810,6 +810,9 @@ func setNetwork(cfg *Config) error {
810810
case "testnet", "testnet3":
811811
cfg.Lnd.Bitcoin.TestNet3 = true
812812

813+
case "testnet4":
814+
cfg.Lnd.Bitcoin.TestNet4 = true
815+
813816
case "regtest":
814817
cfg.Lnd.Bitcoin.RegTest = true
815818

0 commit comments

Comments
 (0)