fix: added missing code from various LN PRs
This commit is contained in:
parent
3fe3fed203
commit
a3eb44bda2
9 changed files with 241 additions and 509 deletions
|
|
@ -62,6 +62,13 @@ function _balance (settings, cryptoCode) {
|
|||
})
|
||||
}
|
||||
|
||||
function probeLN (settings, cryptoCode, address) {
|
||||
return fetchWallet(settings, cryptoCode).then(r => {
|
||||
if (!r.wallet.probeLN) return null
|
||||
return r.wallet.probeLN(r.account, cryptoCode, address)
|
||||
})
|
||||
}
|
||||
|
||||
function sendCoins (settings, tx) {
|
||||
return fetchWallet(settings, tx.cryptoCode)
|
||||
.then(r => {
|
||||
|
|
@ -299,5 +306,6 @@ module.exports = {
|
|||
newFunding,
|
||||
cryptoNetwork,
|
||||
supportsBatching,
|
||||
checkBlockchainStatus
|
||||
checkBlockchainStatus,
|
||||
probeLN
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue