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

patch to mtsitrin/324: inline sl submit useless wrapper func #832

Conversation

danwt
Copy link
Contributor

@danwt danwt commented May 9, 2024

removes a useless wrapper

@danwt danwt requested a review from a team as a code owner May 9, 2024 09:06
}

// Update the syncTarget to the height of the last block in the last batch as seen by this node.
m.UpdateSyncParams(syncHeight)
m.UpdateSyncParams(endHeightInclusive)
Copy link
Contributor

Choose a reason for hiding this comment

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

the created batch can be lower than endHeightInclusive

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ahh sorry I misread the code I didnt see this line

batch.EndHeight = height - 1

that explains a lot

@danwt
Copy link
Contributor Author

danwt commented May 9, 2024

superseded by #833

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

Successfully merging this pull request may close these issues.

2 participants