lntest/node: advertise external IP in itests

This commit is contained in:
Conner Fromknecht 2018-03-30 19:39:11 -07:00
parent 0d8f4f4be4
commit 0449c0d50b
No known key found for this signature in database
GPG Key ID: 39DE78FBE6ACB0EF

@ -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))