Fix config parsing
This commit is contained in:
parent
494dc819c0
commit
d5aaf704e2
@ -43,7 +43,7 @@ def _get_chain_id_from_config():
|
|||||||
chain_id = None
|
chain_id = None
|
||||||
with open("laconic-network-dir/config/client.toml", "rb") as f:
|
with open("laconic-network-dir/config/client.toml", "rb") as f:
|
||||||
toml_dict = tomli.load(f)
|
toml_dict = tomli.load(f)
|
||||||
chain_id = toml_dict["chain_id"]
|
chain_id = toml_dict["chain-id"]
|
||||||
return chain_id
|
return chain_id
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user