lower case chain name

This commit is contained in:
liangping 2022-08-05 09:30:20 +08:00
parent cda7253b21
commit 3248146ebf

View File

@ -19,7 +19,8 @@ if (isTestnet()) {
const update = {}
configs.keys().forEach(k => {
const c = configs(k)
update[String(c.chain_name).toLowerCase()] = c
c.chain_name = String(c.chain_name).toLowerCase()
update[c.chain_name] = c
})
chains = update