We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 893954e commit f1f72bbCopy full SHA for f1f72bb
cmd/loopd/daemon.go
@@ -26,9 +26,10 @@ func daemon(config *config) error {
26
}
27
defer lnd.Close()
28
29
- // If the user is targeting the testnet network, then we'll point
30
- // towards the testnet swap server rather than the mainnet endpoint.
31
- if config.Network == "testnet" {
+ // If the user is targeting the testnet network, and they haven't
+ // specified new swap server, then we'll point towards the testnet swap
+ // server rather than the mainnet endpoint.
32
+ if config.Network == "testnet" && config.SwapServer == "" {
33
config.SwapServer = testnetServer
34
35
0 commit comments