From 0449c0d50bd3f207f879efc923a08317aee88c12 Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Fri, 30 Mar 2018 19:39:11 -0700 Subject: [PATCH] lntest/node: advertise external IP in itests --- lntest/node.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lntest/node.go b/lntest/node.go index 0fd0b97d5..0b377b634 100644 --- a/lntest/node.go +++ b/lntest/node.go @@ -147,6 +147,7 @@ func (cfg nodeConfig) genArgs() []string { args = append(args, fmt.Sprintf("--rpclisten=%v", cfg.RPCAddr())) args = append(args, fmt.Sprintf("--restlisten=%v", cfg.RESTAddr())) args = append(args, fmt.Sprintf("--listen=%v", cfg.P2PAddr())) + args = append(args, fmt.Sprintf("--externalip=%v", cfg.P2PAddr())) args = append(args, fmt.Sprintf("--logdir=%v", cfg.LogDir)) args = append(args, fmt.Sprintf("--datadir=%v", cfg.DataDir)) args = append(args, fmt.Sprintf("--tlscertpath=%v", cfg.TLSCertPath))