diff --git a/src/main/kotlin/org/ethereum/lists/chains/Main.kt b/src/main/kotlin/org/ethereum/lists/chains/Main.kt index 81e34101..61976648 100644 --- a/src/main/kotlin/org/ethereum/lists/chains/Main.kt +++ b/src/main/kotlin/org/ethereum/lists/chains/Main.kt @@ -3,10 +3,10 @@ package org.ethereum.lists.chains import java.io.File -fun main() { +fun main(args: Array) { File("_data/chains").listFiles()?.forEach { - checkChain(it, false) + checkChain(it, args.contains("rpcConnect")) } }