We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f92ebe8 commit b0dd51cCopy full SHA for b0dd51c
packages/lib-sourcify/src/utils/etherscan/etherscan-util.ts
@@ -209,16 +209,16 @@ export const fetchFromEtherscan = async (
209
maskedUrl,
210
chainId,
211
address,
212
- status: (response as any).status,
+ status: response.status,
213
response: JSON.stringify(response),
214
});
215
throw new EtherscanImportError({
216
code: 'etherscan_http_error',
217
218
219
}
220
221
- const resultJson: any = await (response as any).json();
+ const resultJson = await response.json();
222
223
if (
224
resultJson.message === 'NOTOK' &&
0 commit comments