diff --git a/.vscode/settings.json b/.vscode/settings.json index 5aad917e..c6028c15 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -59,6 +59,7 @@ "radata", "Reqs", "resave", + "satoshis", "sendcoins", "sendmany", "sendpayment", diff --git a/services/gunDB/contact-api/actions.js b/services/gunDB/contact-api/actions.js index 2e8d1ca0..b1b8243a 100644 --- a/services/gunDB/contact-api/actions.js +++ b/services/gunDB/contact-api/actions.js @@ -22,7 +22,7 @@ const Getters = require('./getters') const Key = require('./key') const Utils = require('./utils') const SchemaManager = require('../../schema') -const LNDHealthMananger = require('../../../utils/lightningServices/errors') +const LNDHealthManager = require('../../../utils/lightningServices/errors') const { enrollContentTokens, selfContentToken } = require('../../seed') /// @@ -305,7 +305,7 @@ const setCurrentStreamInfo = (encryptedCurrentStreamInfo, user) => }) /** - * @typedef {object} SpontPaymentOptions + * @typedef {object} SpontaneousPaymentOptions * @prop {Common.Schema.OrderTargetType} type * @prop {string=} ackInfo */ @@ -320,7 +320,7 @@ const setCurrentStreamInfo = (encryptedCurrentStreamInfo, user) => * @param {number} amount * @param {string} memo * @param {number} feeLimit - * @param {SpontPaymentOptions} opts + * @param {SpontaneousPaymentOptions} opts * @throws {Error} If no response in less than 20 seconds from the recipient, or * lightning cannot find a route for the payment. * @returns {Promise} The payment's preimage. @@ -498,7 +498,7 @@ const sendSpontaneousPayment = async ( feeLimit, payment_request: orderResponse.response }) - const myLndPub = LNDHealthMananger.lndPub + const myLndPub = LNDHealthManager.lndPub if ( (opts.type !== 'contentReveal' && opts.type !== 'torrentSeed' &&