|
|
@ -276,6 +276,8 @@ function getBlockTotalFeesFromCoinbaseTxAndBlockHeight(coinbaseTx, blockHeight) |
|
|
|
} |
|
|
|
|
|
|
|
function refreshExchangeRates() { |
|
|
|
if (process.env.BTCEXP_NO_RATES) return; |
|
|
|
|
|
|
|
if (coins[config.coin].exchangeRateData) { |
|
|
|
request(coins[config.coin].exchangeRateData.jsonUrl, function(error, response, body) { |
|
|
|
if (!error && response && response.statusCode && response.statusCode == 200) { |
|
|
|