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
When calculating the staking rewards, we use the rounded stake. While there is no nomination, that should be fine since stake will always be an integer. However, with nomination enabled, slashing can result in non-integer stakes. See:
I have a fix for this in a wip branch but it needs cleanup. Since there is a known bug in staking anyway that blocks nomination from being enabled, this fix has low prio.
The text was updated successfully, but these errors were encountered:
When calculating the staking rewards, we use the rounded stake. While there is no nomination, that should be fine since stake will always be an integer. However, with nomination enabled, slashing can result in non-integer stakes. See:
interbtc/crates/staking/src/lib.rs
Lines 582 to 584 in 820a01f
I have a fix for this in a wip branch but it needs cleanup. Since there is a known bug in staking anyway that blocks nomination from being enabled, this fix has low prio.
The text was updated successfully, but these errors were encountered: