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

Delegate preview text shows initial stake value instead of pending stake value #244

Open
dob opened this issue Dec 18, 2023 · 0 comments
Open
Labels
good first issue Good for newcomers help wanted Extra attention is needed type: bug Something isn't working

Comments

@dob
Copy link
Member

dob commented Dec 18, 2023

When a user goes to move their stake from one node to another, the preview text incorrectly reports the amount of stake they are going to move. This occurs at the URL: https://explorer.livepeer.org/accounts/<node address>/orchestrating

A user stakes X LPT to a node, and then accrue Y rewards over time. If they visit another O's page in the explorer, below the "Delegate" option it says "This transaction will remove your current stake of X from node A to node B." It should report X + Y stake will move.

For example, if you stake 100, but then have 50 pending rewards, it reports that you will move 100 LPT to the new node, but instead it should report that you will move 150 LPT to the new node.

@dob dob added good first issue Good for newcomers help wanted Extra attention is needed type: bug Something isn't working labels Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant