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

Calling setActiveStake for a staker resets the wait time even if no balance was moved #3311

Open
sisou opened this issue Mar 10, 2025 · 1 comment

Comments

@sisou
Copy link
Member

sisou commented Mar 10, 2025

When a staker that has 0 active balance sends a setActiveStake transaction that sets the active balance to 0, no balance is moved but the inactiveFrom block is still reset to the next election block, resetting the inactivation wait timer.

@hrxi
Copy link
Contributor

hrxi commented Mar 13, 2025

Sounds like reasonable behavior to not special-case this. Does any problem result from this behavior? If the staker sends such a transaction despite not needing it, that's on themselves IMO.

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

No branches or pull requests

2 participants