You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a stake is delegated, becomes active, and then gets deactivated, the delegation is always present in its StakeState. When splitting from any stake, if it's a StakeState, we check that the delegation doesn't go under 0 at
Problem
If a stake is delegated, becomes active, and then gets deactivated, the
delegation
is always present in itsStakeState
. When splitting from any stake, if it's aStakeState
, we check that the delegation doesn't go under 0 atsolana/sdk/program/src/stake/state.rs
Lines 553 to 555 in fba9906
Proposed Solution
When splitting from a deactivated stake, don't take the delegation into account.
cc @t-nelson
The text was updated successfully, but these errors were encountered: