Skip to content

Commit 9da2b04

Browse files
authored
chore: remove irrelevant fix
1 parent f9a6bf2 commit 9da2b04

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

crytic_compile/platform/etherscan.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -246,25 +246,25 @@ def compile(self, crytic_compile: "CryticCompile", **kwargs: str) -> None:
246246
if etherscan_api_key and "etherscan" in etherscan_url:
247247
etherscan_url += f"&apikey={etherscan_api_key}"
248248
etherscan_bytecode_url += f"&apikey={etherscan_api_key}"
249-
elif arbiscan_api_key and "arbiscan" in etherscan_url:
249+
if arbiscan_api_key and "arbiscan" in etherscan_url:
250250
etherscan_url += f"&apikey={arbiscan_api_key}"
251251
etherscan_bytecode_url += f"&apikey={arbiscan_api_key}"
252-
elif polygonscan_api_key and "polygonscan" in etherscan_url:
252+
if polygonscan_api_key and "polygonscan" in etherscan_url:
253253
etherscan_url += f"&apikey={polygonscan_api_key}"
254254
etherscan_bytecode_url += f"&apikey={polygonscan_api_key}"
255-
elif test_polygonscan_api_key and "polygonscan" in etherscan_url:
255+
if test_polygonscan_api_key and "polygonscan" in etherscan_url:
256256
etherscan_url += f"&apikey={test_polygonscan_api_key}"
257257
etherscan_bytecode_url += f"&apikey={test_polygonscan_api_key}"
258-
elif avax_api_key and "snowtrace" in etherscan_url:
258+
if avax_api_key and "snowtrace" in etherscan_url:
259259
etherscan_url += f"&apikey={avax_api_key}"
260260
etherscan_bytecode_url += f"&apikey={avax_api_key}"
261-
elif ftmscan_api_key and "ftmscan" in etherscan_url:
261+
if ftmscan_api_key and "ftmscan" in etherscan_url:
262262
etherscan_url += f"&apikey={ftmscan_api_key}"
263263
etherscan_bytecode_url += f"&apikey={ftmscan_api_key}"
264-
elif bscan_api_key and "bscscan" in etherscan_url:
264+
if bscan_api_key and "bscscan" in etherscan_url:
265265
etherscan_url += f"&apikey={bscan_api_key}"
266266
etherscan_bytecode_url += f"&apikey={bscan_api_key}"
267-
elif optim_api_key and "optim" in etherscan_url:
267+
if optim_api_key and "optim" in etherscan_url:
268268
etherscan_url += f"&apikey={optim_api_key}"
269269
etherscan_bytecode_url += f"&apikey={optim_api_key}"
270270

0 commit comments

Comments
 (0)