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 dev mode by addressing off by one error. #920

Merged
merged 2 commits into from
Mar 10, 2022
Merged

Conversation

winder
Copy link
Contributor

@winder winder commented Mar 10, 2022

Summary

"StatusAfterBlock" needs to be given the current round in order to wait for the next round. Because we give it the next round, it waits until the round after the next round. This adds unnecessary latency and breaks entirely when dev mode is enabled and there is no next round to keep flushing the latest changes.

Thanks to @achidlow for the suggestion.

Test Plan

Existing integration tests start a network and use this code.

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.

3 participants