Skip to content

Conversation

@Forostovec
Copy link

Removed an unused counter variable and its increment from the validator iteration in prepForZeroHeightGenesis() and updated the comment to accurately reflect behavior (only resetting bond heights). This dead code was a legacy artifact; no code reads the counter, and modern staking does not use a “bond intra-tx counter.” The change clarifies intent and avoids confusion

@aljo242
Copy link
Contributor

aljo242 commented Oct 27, 2025

can you create a detailed issue explaining this?

@Forostovec
Copy link
Author

can you create a detailed issue explaining this?

Yes, i'm gonna do that

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