Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(syncer): don't Head recursively #248

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

Wondertan
Copy link
Member

We don't need recursion here. If recent head request fails, all the waiters should simply return any known subjective head, like with other error cases.

Closes #247

@Wondertan Wondertan enabled auto-merge (squash) February 14, 2025 00:31
}

func (e errorGetter) Get(ctx context.Context, hash header.Hash) (*headertest.DummyHeader, error) {
//TODO implement me
Copy link
Contributor

@cristaloleg cristaloleg Feb 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Space after //

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Context deadline exceeded leads to the stack overflow error
2 participants