From 816d3c6e8e054c649b6d5dc48bc900fa7b6b842e Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 1 Mar 2020 15:35:57 -0800 Subject: lnrpc refactor --- lib/createLnrpc.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/createLnrpc.js') diff --git a/lib/createLnrpc.js b/lib/createLnrpc.js index e32f6be3..083ad961 100644 --- a/lib/createLnrpc.js +++ b/lib/createLnrpc.js @@ -3,9 +3,8 @@ const grpc = require("grpc"); const createLnrpc = require("lnrpc"); const { promisify } = require("util"); -module.exports = async ({ server, tls, macaroon, channelpeers }) => { +module.exports = async ({ server, tls, macaroon }) => { const lnrpc = await createLnrpc({ server, tls, macaroonPath: macaroon }); - lnrpc.channelpeers = channelpeers; // Resolve proxy instance return new Proxy(lnrpc, { -- cgit v1.2.3