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 committed 2019-02-01 09:42:35 +01:00
1 parent bacd92418a
commit 3545685177
11 files changed
+321 -3

No files matched your search

+1 -1
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)