Closed tomazmm closed 3 years ago
Fixing staking bug. If restake value is greater then already staked amount, contract needs to stake first and delegate, and if restaking value is less than already staked value, we need to lower delagtion and then restake with the new value.
Fixing staking bug. If restake value is greater then already staked amount, contract needs to stake first and delegate, and if restaking value is less than already staked value, we need to lower delagtion and then restake with the new value.