Spell checking
This commit is contained in:
parent
43821ff7fe
commit
0e241a8b7a
2 changed files with 59 additions and 8 deletions
53
.vscode/settings.json
vendored
53
.vscode/settings.json
vendored
|
|
@ -6,26 +6,77 @@
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
"cSpell.words": [
|
"cSpell.words": [
|
||||||
"acked",
|
"acked",
|
||||||
|
"addinvoice",
|
||||||
"Authing",
|
"Authing",
|
||||||
|
"channelbalance",
|
||||||
"ciphertext",
|
"ciphertext",
|
||||||
|
"closechannel",
|
||||||
|
"closedchannels",
|
||||||
|
"Cltv",
|
||||||
|
"connectpeer",
|
||||||
|
"disconnectpeer",
|
||||||
"eccrypto",
|
"eccrypto",
|
||||||
"endregion",
|
"endregion",
|
||||||
"ephem",
|
"ephem",
|
||||||
"epriv",
|
"epriv",
|
||||||
"Epub",
|
"Epub",
|
||||||
|
"estimatefee",
|
||||||
|
"estimateroutefee",
|
||||||
|
"exportallchanbackups",
|
||||||
|
"exportchanbackup",
|
||||||
"falsey",
|
"falsey",
|
||||||
|
"forwardinghistory",
|
||||||
|
"getchaninfo",
|
||||||
|
"getinfo",
|
||||||
|
"getnetworkinfo",
|
||||||
|
"getnodeinfo",
|
||||||
"GUNRPC",
|
"GUNRPC",
|
||||||
|
"Healthz",
|
||||||
|
"initwall",
|
||||||
"ISEA",
|
"ISEA",
|
||||||
|
"keysend",
|
||||||
|
"kubernetes",
|
||||||
|
"listchannels",
|
||||||
|
"listinvoices",
|
||||||
|
"listpayments",
|
||||||
|
"listpeers",
|
||||||
|
"listunspent",
|
||||||
|
"lndchanbackups",
|
||||||
"LNDRPC",
|
"LNDRPC",
|
||||||
"lndstreaming",
|
"lndstreaming",
|
||||||
|
"lnrpc",
|
||||||
|
"lres",
|
||||||
|
"msgpack",
|
||||||
|
"newaddress",
|
||||||
|
"openchannel",
|
||||||
|
"otheruser",
|
||||||
|
"payreq",
|
||||||
|
"pendingchannels",
|
||||||
|
"preimage",
|
||||||
"PUBKEY",
|
"PUBKEY",
|
||||||
"qrcode",
|
"qrcode",
|
||||||
|
"queryroute",
|
||||||
"radata",
|
"radata",
|
||||||
"Reqs",
|
"Reqs",
|
||||||
|
"resave",
|
||||||
|
"sendcoins",
|
||||||
|
"sendmany",
|
||||||
|
"sendpayment",
|
||||||
|
"sendtoroute",
|
||||||
|
"serverhost",
|
||||||
|
"serverport",
|
||||||
"shockping",
|
"shockping",
|
||||||
"SHOCKWALLET",
|
"SHOCKWALLET",
|
||||||
|
"signmessage",
|
||||||
"thenables",
|
"thenables",
|
||||||
|
"trackpayment",
|
||||||
|
"txid",
|
||||||
|
"unfollow",
|
||||||
|
"Unlocker",
|
||||||
"unsubscription",
|
"unsubscription",
|
||||||
"uuidv"
|
"utxos",
|
||||||
|
"uuidv",
|
||||||
|
"verifymessage",
|
||||||
|
"walletbalance"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1969,23 +1969,23 @@ module.exports = async (
|
||||||
feeLimit,
|
feeLimit,
|
||||||
sessionUuid
|
sessionUuid
|
||||||
} = req.body
|
} = req.body
|
||||||
logger.info('handling spont pay')
|
logger.info('handling spontaneous pay')
|
||||||
if (!feeLimit) {
|
if (!feeLimit) {
|
||||||
logger.error(
|
logger.error(
|
||||||
'please provide a "feeLimit" to the send spont payment request'
|
'please provide a "feeLimit" to the send spontaneous payment request'
|
||||||
)
|
)
|
||||||
return res.status(500).json({
|
return res.status(500).json({
|
||||||
errorMessage:
|
errorMessage:
|
||||||
'please provide a "feeLimit" to the send spont payment request'
|
'please provide a "feeLimit" to the send spontaneous payment request'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (!recipientPub || !amount) {
|
if (!recipientPub || !amount) {
|
||||||
logger.info(
|
logger.info(
|
||||||
'please provide a "recipientPub" and "amount" to the send spont payment request'
|
'please provide a "recipientPub" and "amount" to the send spontaneous payment request'
|
||||||
)
|
)
|
||||||
return res.status(500).json({
|
return res.status(500).json({
|
||||||
errorMessage:
|
errorMessage:
|
||||||
'please provide a "recipientPub" and "amount" to the send spont payment request'
|
'please provide a "recipientPub" and "amount" to the send spontaneous payment request'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
|
@ -1999,7 +1999,7 @@ module.exports = async (
|
||||||
)
|
)
|
||||||
res.json({ preimage, sessionUuid })
|
res.json({ preimage, sessionUuid })
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
logger.info('spont pay err:', err)
|
logger.info('spontaneous pay err:', err)
|
||||||
return res.status(500).json({
|
return res.status(500).json({
|
||||||
errorMessage: err.message
|
errorMessage: err.message
|
||||||
})
|
})
|
||||||
|
|
@ -2621,7 +2621,7 @@ module.exports = async (
|
||||||
})
|
})
|
||||||
|
|
||||||
ap.get('/qrCodeGenerator', (req, res) => {
|
ap.get('/qrCodeGenerator', (req, res) => {
|
||||||
console.log('qrrerrr')
|
console.log('/qrCodeGenerator')
|
||||||
try {
|
try {
|
||||||
res.sendFile(path.join(__dirname, '../public/qrcode.min.js'))
|
res.sendFile(path.join(__dirname, '../public/qrcode.min.js'))
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue