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

sybx claim numbers and times incorrect if staking for multiple time periods in front end #371

Open
silence48 opened this issue Oct 31, 2021 · 4 comments
Labels
bug Something isn't working frontend Something on the web application isn't working very minor

Comments

@silence48
Copy link

In the front end, the unlock time and amount shows the incorrect numbers.

First I staked 20 ybx for 3 months, then I staked 100 ybx for 12 months.

image
After staking the 100ybx for 12 months, the ui displays that the next unlock time is 100 sybx in 91 days, but it is incorrect... (at the time the screenshot was taken it should have been 89 days. )
I reported this issue in discord but forgot to make an issue here about it, and it seems the error still exists.

image

@mootz12 mootz12 added bug Something isn't working frontend Something on the web application isn't working very minor labels Nov 8, 2021
@mootz12
Copy link
Collaborator

mootz12 commented Nov 8, 2021

I'm assuming we are improperly displaying the time difference on the front end.

Good catch!

@silence48
Copy link
Author

silence48 commented Nov 8, 2021

I'm assuming we are improperly displaying the time difference on the front end.

Good catch!

it is not just the time; the amounts are also wrong. It only seems to occur while having ybx locked for multiple time periods however.

@silence48
Copy link
Author

this is silence#8008 on discord in re bug bounty 👍

@alvino9
Copy link

alvino9 commented Dec 1, 2021

Ybx the value I stake does not match when I have approved the stake, I stake I don't know if ybx is needed for the staking fee, but it shouldn't be, because the fee is paid with xlm
Discord : alvino$BRKL#1673
WALLET STELLAR TESNET : GBHUNIYZ5FXL63N6JPDP6K23HDG2EPHLZTIVYK2ICYG2XKOGXUKCBTWU

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend Something on the web application isn't working very minor
Projects
None yet
Development

No branches or pull requests

3 participants