Commit 27f51168 authored by Murphy Law's avatar Murphy Law Committed by GitHub

Merge pull request #2219 from ethereum-optimism/inphi/gen2

l2geth: Increase genesis file fetch timeout
parents e0f7e5f4 84e6a158
---
'@eth-optimism/l2geth': patch
---
Bump the timeout to download the genesis file on l2geth
...@@ -642,7 +642,7 @@ func hashish(x string) bool { ...@@ -642,7 +642,7 @@ func hashish(x string) bool {
func fetchGenesis(url string) ([]byte, error) { func fetchGenesis(url string) ([]byte, error) {
client := &http.Client{ client := &http.Client{
Timeout: 10 * time.Second, Timeout: 60 * time.Second,
} }
resp, err := client.Get(url) resp, err := client.Get(url)
if err != nil { if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment