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

decayed position fix #182

Merged
merged 3 commits into from
Dec 10, 2024
Merged

Conversation

bryzettler
Copy link
Contributor

No description provided.

const elapsedTime = new BN(unixNow).sub(lockup.startTs);
const totalTime = lockup.endTs.sub(lockup.startTs);
const totalTime = isDelegated
? lockup.endTs.add(new BN(EPOCH_LENGTH).sub(lockup.startTs))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks wrong

@bryzettler bryzettler merged commit bab6eab into main Dec 10, 2024
1 check passed
@bryzettler bryzettler deleted the bugfix/decayed-position-on-current-epoch branch December 10, 2024 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants