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

[OZ][L-01] Fix inaccurate uptime calculation due to remainder #110

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

Mike-CZ
Copy link
Collaborator

@Mike-CZ Mike-CZ commented Dec 13, 2024

This PR fixes resetting remainder to zero whenever the averageUptime exceeds 1e18 and is capped at 1e18.

@Mike-CZ Mike-CZ requested a review from thaarok December 13, 2024 09:07
@Mike-CZ Mike-CZ merged commit e9dc8d2 into main Jan 31, 2025
2 checks passed
@Mike-CZ Mike-CZ deleted the mike/oz-l-01 branch January 31, 2025 11:34
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