diff options
| author | Adam Soltys <[email protected]> | 2020-02-28 10:54:01 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-02-28 10:54:01 -0800 |
| commit | 24cc1b02b768b21ff013b52cb5b4e9e4a3fe4a22 (patch) | |
| tree | 994cc84a61a11402ad909c96417f7ff304074f69 /lib/createLnrpc.js | |
| parent | 453856c0ae0124a3735b0204fd0a58f31bca8a0b (diff) | |
| download | coinos-server-24cc1b02b768b21ff013b52cb5b4e9e4a3fe4a22.tar.gz coinos-server-24cc1b02b768b21ff013b52cb5b4e9e4a3fe4a22.zip | |
query routes and send to route
Diffstat (limited to 'lib/createLnrpc.js')
| -rw-r--r-- | lib/createLnrpc.js | 2 |
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); |
