Spell checking

This commit is contained in:
Daniel Lugo 2022-01-17 13:31:40 -04:00
parent 4d88f8aac3
commit 7ddf117d7d
2 changed files with 5 additions and 4 deletions

View file

@ -59,6 +59,7 @@
"radata", "radata",
"Reqs", "Reqs",
"resave", "resave",
"satoshis",
"sendcoins", "sendcoins",
"sendmany", "sendmany",
"sendpayment", "sendpayment",

View file

@ -22,7 +22,7 @@ const Getters = require('./getters')
const Key = require('./key') const Key = require('./key')
const Utils = require('./utils') const Utils = require('./utils')
const SchemaManager = require('../../schema') const SchemaManager = require('../../schema')
const LNDHealthMananger = require('../../../utils/lightningServices/errors') const LNDHealthManager = require('../../../utils/lightningServices/errors')
const { enrollContentTokens, selfContentToken } = require('../../seed') const { enrollContentTokens, selfContentToken } = require('../../seed')
/// <reference path="../../../utils/GunSmith/Smith.ts" /> /// <reference path="../../../utils/GunSmith/Smith.ts" />
@ -305,7 +305,7 @@ const setCurrentStreamInfo = (encryptedCurrentStreamInfo, user) =>
}) })
/** /**
* @typedef {object} SpontPaymentOptions * @typedef {object} SpontaneousPaymentOptions
* @prop {Common.Schema.OrderTargetType} type * @prop {Common.Schema.OrderTargetType} type
* @prop {string=} ackInfo * @prop {string=} ackInfo
*/ */
@ -320,7 +320,7 @@ const setCurrentStreamInfo = (encryptedCurrentStreamInfo, user) =>
* @param {number} amount * @param {number} amount
* @param {string} memo * @param {string} memo
* @param {number} feeLimit * @param {number} feeLimit
* @param {SpontPaymentOptions} opts * @param {SpontaneousPaymentOptions} opts
* @throws {Error} If no response in less than 20 seconds from the recipient, or * @throws {Error} If no response in less than 20 seconds from the recipient, or
* lightning cannot find a route for the payment. * lightning cannot find a route for the payment.
* @returns {Promise<OrderRes>} The payment's preimage. * @returns {Promise<OrderRes>} The payment's preimage.
@ -498,7 +498,7 @@ const sendSpontaneousPayment = async (
feeLimit, feeLimit,
payment_request: orderResponse.response payment_request: orderResponse.response
}) })
const myLndPub = LNDHealthMananger.lndPub const myLndPub = LNDHealthManager.lndPub
if ( if (
(opts.type !== 'contentReveal' && (opts.type !== 'contentReveal' &&
opts.type !== 'torrentSeed' && opts.type !== 'torrentSeed' &&