Delegate preview text shows initial stake value instead of pending stake value #244
Labels
good first issue
Good for newcomers
help wanted
Extra attention is needed
type: bug
Something isn't working
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.
The text was updated successfully, but these errors were encountered: