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(mina-consensus.ts): correct the splice index in filterBestTip #93

Merged
merged 2 commits into from
Nov 21, 2023

Conversation

MartinMinkov
Copy link
Contributor

The previous implementation was incorrectly splicing from the start of the array, which could lead to unexpected results. The fix ensures that the splice operation starts from the correct index, preserving the integrity of the array.

…ction to prevent incorrect array manipulation

The previous implementation was incorrectly splicing from the start of the array, which could lead to unexpected results. The fix ensures that the splice operation starts from the correct index, preserving the integrity of the array.
@MartinMinkov MartinMinkov merged commit d703f4d into main Nov 21, 2023
3 of 4 checks passed
@MartinMinkov MartinMinkov deleted the feat/fix-filter-best-tip branch November 21, 2023 16:22
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