When changing the delegated amount, the "when this takes effect" is sometimes incorrect.
It seems that this is due to the values being strings when compared.
Steps to Reproduce
Have a delegator with 100 ccd staked.
Reduce the stake to 20 ccd.
Expected Result
The update is said to take effect after the cooldown period.
Actual Result
The update is said to take effect at the upcoming payday.
Bug Description
When changing the delegated amount, the "when this takes effect" is sometimes incorrect. It seems that this is due to the values being strings when compared.
Steps to Reproduce
Expected Result
Actual Result
Versions