mirror of
https://github.com/Instadapp/chains.git
synced 2024-07-29 22:37:19 +00:00
Allow to activate connect to RPCs via command line parameter
This commit is contained in:
parent
871c91b2c7
commit
b23cb22758
|
@ -3,10 +3,10 @@ package org.ethereum.lists.chains
|
|||
import java.io.File
|
||||
|
||||
|
||||
fun main() {
|
||||
fun main(args: Array<String>) {
|
||||
|
||||
File("_data/chains").listFiles()?.forEach {
|
||||
checkChain(it, false)
|
||||
checkChain(it, args.contains("rpcConnect"))
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user