aboutsummaryrefslogtreecommitdiffstats
path: root/lib/createLnrpc.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-02-29 00:35:29 -0500
committerAdam Soltys <[email protected]>2020-02-29 00:35:29 -0500
commit77158ce5f155b90a67c28489202330cef5efd1f4 (patch)
tree51c9292926d7de7519117b11e2625d4bfc51c405 /lib/createLnrpc.js
parent0b922b0187cb0b3ffa5bdfae3cdb94fa87e1f20c (diff)
parenta620be4d76b567d153b961b18add2626b7789880 (diff)
downloadcoinos-server-77158ce5f155b90a67c28489202330cef5efd1f4.tar.gz
coinos-server-77158ce5f155b90a67c28489202330cef5efd1f4.zip
Merge branch 'master' of https://github.com/asoltys/coinos-server
Diffstat (limited to 'lib/createLnrpc.js')
-rw-r--r--lib/createLnrpc.js2
1 files changed, 1 insertions, 1 deletions
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);