aboutsummaryrefslogtreecommitdiffstats
path: root/lib/send.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-08-04 07:00:20 -0700
committerAdam Soltys <[email protected]>2021-08-04 07:00:20 -0700
commit8b06e5a742a529e98736a2b60dc3b2f5d581fe03 (patch)
treedbae4a77eacc55743be8fa48c3f23dc5a4e4c82d /lib/send.js
parent45a58bddc5a8dd4b25865c922ef9b4107b427435 (diff)
downloadcoinos-server-8b06e5a742a529e98736a2b60dc3b2f5d581fe03.tar.gz
coinos-server-8b06e5a742a529e98736a2b60dc3b2f5d581fe03.zip
config update, lnd support
Diffstat (limited to 'lib/send.js')
-rw-r--r--lib/send.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/send.js b/lib/send.js
index fd577231..92b2eda3 100644
--- a/lib/send.js
+++ b/lib/send.js
@@ -52,7 +52,7 @@ send = async (amount, memo, hash, user) => {
fee = parseInt((sent - total) / 1000);
total = parseInt(total / 1000);
} else {
- let m = await lna.sendPaymentSync({
+ let m = await lnp.sendPaymentSync({
amt: amount,
payment_request: hash,
max_parts: 10,