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(store): pruning height returns zero when store is not in prune mode #1430

Merged
merged 2 commits into from
Jul 22, 2024

Conversation

b00f
Copy link
Collaborator

@b00f b00f commented Jul 21, 2024

Description

Updated the PruningHeight function to correctly return zero if the store is not in prune mode.

store/store.go Show resolved Hide resolved
@b00f b00f merged commit c54b926 into pactus-project:main Jul 22, 2024
10 checks passed
@b00f b00f deleted the fix/negative-pruning-height branch July 22, 2024 05:27
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