Skip to content

Commit

Permalink
Merge pull request #60 from ethereum-alarm-clock/eac-counter-fix
Browse files Browse the repository at this point in the history
[FIX] EAC counter
  • Loading branch information
josipbagaric authored Dec 3, 2018
2 parents 5c5b61f + c012a85 commit b053827
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/analytics/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Analytics {
const chainName = await Util.getChainName(this._web3);

const subdomain = chainName === 'mainnet' ? 'api' : `api-${chainName}`;
const baseUrl = `http://${subdomain}.etherscan.io/api?module=account&action=txlist&startblock=0&endblock=99999999&sort=asc`;
const baseUrl = `https://${subdomain}.etherscan.io/api?module=account&action=txlist&startblock=0&endblock=99999999&sort=asc`;
const timestampSchedulerUrl = `${baseUrl}&address=${this._scheduler.timestampScheduler.address}`;
const blockSchedulerUrl = `${baseUrl}&address=${this._scheduler.blockScheduler.address}`;

Expand Down Expand Up @@ -81,4 +81,4 @@ class Analytics {
}
}

module.exports = Analytics;
module.exports = Analytics;

0 comments on commit b053827

Please sign in to comment.