This commit is contained in:
Bryan Stitt 2023-01-20 15:50:39 -08:00
parent 412733d505
commit 6ffdcd42e3

View File

@ -137,6 +137,7 @@ async fn get_chain_id(rpc: &str, client: &reqwest::Client) -> anyhow::Result<u64
"method": "eth_chainId",
});
// TODO: loop until chain id is found?
let check_result = client
.post(rpc)
.json(&get_chain_id_request)