add blockcypher [WIP]
This commit is contained in:
parent
b28c99aabb
commit
23458b6b56
10 changed files with 133 additions and 17 deletions
|
|
@ -231,7 +231,7 @@ function plugins (settings, deviceId) {
|
|||
}
|
||||
|
||||
function getStatus (tx) {
|
||||
return wallet.getStatus(settings, tx.toAddress, tx.cryptoAtoms, tx.cryptoCode)
|
||||
return wallet.getStatus(settings, tx.toAddress, tx.cryptoAtoms, tx.cryptoCode, tx.fiat, deviceId)
|
||||
}
|
||||
|
||||
function newAddress (tx) {
|
||||
|
|
@ -471,6 +471,8 @@ function plugins (settings, deviceId) {
|
|||
const config = configManager.machineScoped(_deviceId, settings.config)
|
||||
const cryptoCodes = config.cryptoCurrencies
|
||||
const fiatCode = config.fiatCurrency
|
||||
|
||||
console.log('DEBUG103: %j', cryptoCodes)
|
||||
const fiatBalancePromises = cryptoCodes.map(c => fiatBalance(fiatCode, c))
|
||||
|
||||
return Promise.all(fiatBalancePromises)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue