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

Fixed regression introduced by #51 #85

Merged
merged 1 commit into from
Apr 20, 2024

Conversation

gslandtreter
Copy link
Contributor

Commit merged as part of #51 introduced a regression that prevents the daemon from breaking out its startup wait loop when running in regtest mode, in scenarios where the blockchain already contains 1 or more blocks (apart from genesis).

This commit fixes the regression by only checking the equivalence between blocks and headers as the wait condition when running in regtest mode.

Commit merged as part of mempool#51 introduced a regression that prevents the daemon from breaking from its startup wait loop when running in `regtest` mode, and the blockchain already contains 1 or more blocks (apart from genesis).

This commit fixes the regression by only checking the equivalence between blocks and headers as the wait condition when running in `regtest` mode.
Copy link
Member

@junderw junderw left a comment

Choose a reason for hiding this comment

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

LGTM

@softsimon softsimon merged commit 8e07f9f into mempool:mempool Apr 20, 2024
7 checks passed
SatoKentaNayoro pushed a commit to boolnetwork/mempool-electrs that referenced this pull request Nov 29, 2024
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