invoicesrpc: create sub server

Sub server implementation is still empty. This is a preparatory
step for adding invoice functionality.
This commit is contained in:
Joost Jager
2018-12-20 11:42:28 +01:00
parent bacd92418a
commit 3545685177
11 changed files with 321 additions and 3 deletions

2
lnd.go
View File

@@ -337,7 +337,7 @@ func lndMain() error {
// exported by the rpcServer.
rpcServer, err := newRPCServer(
server, macaroonService, cfg.SubRPCServers, serverOpts,
proxyOpts, atplManager, tlsConf,
proxyOpts, atplManager, server.invoices, tlsConf,
)
if err != nil {
srvrLog.Errorf("unable to start RPC server: %v", err)