Lnd: Add BufListener to ListenerCfg for in-memory RPC calls to LND

This commit is contained in:
Turtle committed 2021-10-01 16:51:15 -05:00
1 parent c43b9e4fe7
commit 57fc32fe6a
2 files changed
+26 -7

No files matched your search

+2 -2
View File
@@ -94,10 +94,10 @@ func Start(extraArgs string, rpcReady Callback) {
// We call the main method with the custom in-memory listener called by
// the mobile APIs, such that the grpc server will use it.
cfg := lnd.ListenerCfg{
RPCListener: &lnd.ListenerWithSignal{
RPCListeners: []*lnd.ListenerWithSignal{{
Listener: lightningLis,
Ready: rpcListening,
},
}},
}
// Call the "real" main in a nested manner so the defers will properly