diff --git a/processor/src/main/kotlin/org/ethereum/lists/chains/Main.kt b/processor/src/main/kotlin/org/ethereum/lists/chains/Main.kt index f951860cb2ed..6b2bc957658a 100644 --- a/processor/src/main/kotlin/org/ethereum/lists/chains/Main.kt +++ b/processor/src/main/kotlin/org/ethereum/lists/chains/Main.kt @@ -355,7 +355,7 @@ fun checkChain(chainFile: File, onlineCheck: Boolean, verbose: Boolean = false) if (onlineCheck) { val request = Request.Builder().url(url).build(); val code = okHttpClient.newCall(request).execute().code - if (code / 100 != 2) { + if (code / 100 != 2 && code != 403 ) { // etherscan throws a 403 because of cloudflare - so we need to allow it :cry throw (CantReachExplorerException(url, code)) } }