@toruslabs/ethereum-controllers 5.0.2 → 5.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3758,7 +3758,6 @@ class PreferencesController extends BasePreferencesController {
3758
3758
  }
3759
3759
  async fetchEtherscanTx(parameters) {
3760
3760
  try {
3761
- // TODO: rewrite this api to use chainId
3762
3761
  const url = new URL(`${this.config.api}/etherscan`);
3763
3762
  Object.keys(parameters).forEach(key => url.searchParams.append(key, parameters[key]));
3764
3763
  const response = await get(url.href, this.headers(parameters.selectedAddress));