lnd+rpcserver: thread watchtower into subserver configs

This commit is contained in:
Conner Fromknecht
2019-06-20 16:54:45 -07:00
parent c06d71530a
commit 59c9418eca
3 changed files with 19 additions and 3 deletions

2
lnd.go
View File

@@ -406,7 +406,7 @@ func Main() error {
rpcServer, err := newRPCServer(
server, macaroonService, cfg.SubRPCServers, serverOpts,
restDialOpts, restProxyDest, atplManager, server.invoices,
tlsCfg,
tower, tlsCfg,
)
if err != nil {
srvrLog.Errorf("unable to start RPC server: %v", err)