aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-02-28 10:54:01 -0800
committerAdam Soltys <[email protected]>2020-02-28 10:54:01 -0800
commit24cc1b02b768b21ff013b52cb5b4e9e4a3fe4a22 (patch)
tree994cc84a61a11402ad909c96417f7ff304074f69 /lib
parent453856c0ae0124a3735b0204fd0a58f31bca8a0b (diff)
downloadcoinos-server-24cc1b02b768b21ff013b52cb5b4e9e4a3fe4a22.tar.gz
coinos-server-24cc1b02b768b21ff013b52cb5b4e9e4a3fe4a22.zip
query routes and send to route
Diffstat (limited to 'lib')
-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);