// Both geth and erigon like to serve non-standard errors for the safe and finalized heads, correct that.
// This happens when the chain just started and nothing is marked as safe/finalized yet.
ifstrings.Contains(err.Error(),"block not found")||strings.Contains(err.Error(),"Unknown block")||strings.Contains(err.Error(),"unknown block"){
ifstrings.Contains(err.Error(),"block not found")||strings.Contains(err.Error(),"Unknown block")||strings.Contains(err.Error(),"unknown block")||strings.Contains(err.Error(),"header not found"){