diff --git a/backend/src/tasks/price-updater.ts b/backend/src/tasks/price-updater.ts index 8fd2779cf..2cf0fbdb4 100644 --- a/backend/src/tasks/price-updater.ts +++ b/backend/src/tasks/price-updater.ts @@ -271,7 +271,6 @@ class PriceUpdater { } this.latestPrices.time = Math.round(new Date().getTime() / 1000); - logger.info(`Latest BTC fiat averaged price: ${JSON.stringify(this.latestPrices)}`); if (!forceUpdate) { this.cyclePosition++; @@ -280,6 +279,8 @@ class PriceUpdater { if (this.latestPrices.USD === -1) { this.latestPrices = await PricesRepository.$getLatestConversionRates(); logger.warn(`No BTC price available, falling back to latest known price: ${JSON.stringify(this.latestPrices)}`); + } else { + logger.info(`Latest BTC fiat averaged price: ${JSON.stringify(this.latestPrices)}`); } if (this.ratesChangedCallback && this.latestPrices.USD > 0) { diff --git a/frontend/src/app/app-routing.module.ts b/frontend/src/app/app-routing.module.ts index d1748312d..5f69b55cf 100644 --- a/frontend/src/app/app-routing.module.ts +++ b/frontend/src/app/app-routing.module.ts @@ -7,8 +7,6 @@ import { MempoolBlockViewComponent } from '@components/mempool-block-view/mempoo import { ClockComponent } from '@components/clock/clock.component'; import { StatusViewComponent } from '@components/status-view/status-view.component'; import { AddressGroupComponent } from '@components/address-group/address-group.component'; -import { TrackerComponent } from '@components/tracker/tracker.component'; -import { AccelerateCheckout } from '@components/accelerate-checkout/accelerate-checkout.component'; import { TrackerGuard } from '@app/route-guards'; const browserWindow = window || {};