aboutsummaryrefslogtreecommitdiffstats
path: root/lib/send.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-09-21 12:49:20 -0400
committerAdam Soltys <[email protected]>2022-09-21 12:49:20 -0400
commit97e39562633e8ff2b3bb5a38896cb3676aaf51dd (patch)
treeda633adf662030a11f92de902957abed4c62f229 /lib/send.js
parent4569736bac949bd2b06ce03b11299b11984e8d3c (diff)
downloadcoinos-server-97e39562633e8ff2b3bb5a38896cb3676aaf51dd.tar.gz
coinos-server-97e39562633e8ff2b3bb5a38896cb3676aaf51dd.zip
fix send function
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 9d70b34e..f20185e5 100644
--- a/lib/send.js
+++ b/lib/send.js
@@ -91,7 +91,7 @@ export default async (amount, memo, hash, user) => {
if (!payreq.satoshis) tokens = amount;
let m;
- if (config.lnd) {
+ if (config.lna.lnd) {
m = await payViaPaymentRequest({
lnd,
request: hash,