mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
Merge d766f09951 into 23433a05ed
This commit is contained in:
commit
28e3277fc6
1 changed files with 6 additions and 2 deletions
|
|
@ -76,6 +76,7 @@ import (
|
|||
const (
|
||||
MainnetServer = "autopilot.lightning.finance:12010"
|
||||
TestnetServer = "test.autopilot.lightning.finance:12010"
|
||||
SignetServer = "signet.autopilot.lightning.finance:12010"
|
||||
|
||||
// lndWalletReadyStatus is a custom status that will be used with the
|
||||
// LND subserver. If the subserver is in this state then it will allow
|
||||
|
|
@ -492,9 +493,12 @@ func (g *LightningTerminal) start(ctx context.Context) error {
|
|||
g.cfg.Autopilot.Address = MainnetServer
|
||||
case "testnet":
|
||||
g.cfg.Autopilot.Address = TestnetServer
|
||||
case "signet":
|
||||
g.cfg.Autopilot.Address = SignetServer
|
||||
default:
|
||||
return errors.New("no autopilot server " +
|
||||
"address specified")
|
||||
return fmt.Errorf("no autopilot server "+
|
||||
"address specified for network %s",
|
||||
g.cfg.Network)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue