Skip to content

Commit

Permalink
feat(*): add logging for coinmarketcap statistic retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
benmarten committed Jan 1, 2018
1 parent 9c2b16b commit d34b8c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/model/Coinmarket.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export default class Coinmarket {
* @prop coin.market_cap_usd The market cap for the given coin in USD.
*/
static init() {
console.log('Retrieving coinmarketcap statistics...')
return this._getTotalMarketCapUsd().then(_totalMarketCapUsd => {
totalMarketCapUsd = _totalMarketCapUsd
return this._getCoinStats().then(coinsRefreshed => {
Expand Down

0 comments on commit d34b8c0

Please sign in to comment.