feat: add blockchain status getter to all daemons

This commit is contained in:
Sérgio Salgado 2022-01-21 17:44:53 +00:00
parent 75cb094476
commit 2819b8a519
11 changed files with 107 additions and 16 deletions

View file

@ -237,6 +237,11 @@ function supportsBatching (settings, cryptoCode) {
.then(r => r.wallet.supportsBatching(cryptoCode))
}
function checkBlockchainStatus (settings, cryptoCode) {
return fetchWallet(settings, cryptoCode)
.then(r => r.wallet.checkBlockchainStatus(cryptoCode))
}
const coinFilter = ['ETH']
const balance = (settings, cryptoCode) => {
@ -265,5 +270,6 @@ module.exports = {
isHd,
newFunding,
cryptoNetwork,
supportsBatching
supportsBatching,
checkBlockchainStatus
}