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

Delegation cooldown is sometimes incorrect #338

Open
shjortConcordium opened this issue Jul 29, 2022 · 0 comments
Open

Delegation cooldown is sometimes incorrect #338

shjortConcordium opened this issue Jul 29, 2022 · 0 comments
Labels
[Prio] Low Should be fixed if time permits but can be postponed. [Size] Small [Type] Bug Something isn't working

Comments

@shjortConcordium
Copy link
Contributor

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

  • 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.

Versions

  • desktop wallet 1.4.1
@shjortConcordium shjortConcordium added [Prio] Low Should be fixed if time permits but can be postponed. [Size] Small [Type] Bug Something isn't working labels Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Prio] Low Should be fixed if time permits but can be postponed. [Size] Small [Type] Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant