@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.
@@ -4232,7 +4232,6 @@ class PreferencesController extends base_controllers_namespaceObject.BasePrefere
4232
4232
  }
4233
4233
  async fetchEtherscanTx(parameters) {
4234
4234
  try {
4235
- // TODO: rewrite this api to use chainId
4236
4235
  const url = new URL(`${this.config.api}/etherscan`);
4237
4236
  Object.keys(parameters).forEach(key => url.searchParams.append(key, parameters[key]));
4238
4237
  const response = await (0,http_helpers_namespaceObject.get)(url.href, this.headers(parameters.selectedAddress));