From 24cc1b02b768b21ff013b52cb5b4e9e4a3fe4a22 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 28 Feb 2020 10:54:01 -0800 Subject: query routes and send to route --- lib/createLnrpc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/createLnrpc.js') diff --git a/lib/createLnrpc.js b/lib/createLnrpc.js index 661440bb..e32f6be3 100644 --- a/lib/createLnrpc.js +++ b/lib/createLnrpc.js @@ -23,7 +23,7 @@ module.exports = async ({ server, tls, macaroon, channelpeers }) => { let fn; if (streaming) { - if (key === "sendPayment") { + if (key === "sendPayment" || key === "sendToRoute") { fn = params => method.call(lnrpc, target.meta, params); } else { fn = params => method.call(lnrpc, params, target.meta); -- cgit v1.2.3