-
-
Notifications
You must be signed in to change notification settings - Fork 323
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
Fix syncParticipantReward rounding issue #3055
Conversation
Code Climate has analyzed commit 7392437 and detected 0 issues on this pull request. View more on Code Climate. |
Codecov Report
@@ Coverage Diff @@
## master #3055 +/- ##
=======================================
Coverage 59.88% 59.88%
=======================================
Files 376 376
Lines 8926 8926
Branches 1318 1318
=======================================
Hits 5345 5345
Misses 3202 3202
Partials 379 379 |
Performance Report✔️ no performance regression detected Full benchmark results
|
Motivation
This rounding issue was found in random spec tests (altair v1.1.0-beta.3), since that PR is not ready I make the fix a separate one.
Description
Use
Math.floor()
to calculatesyncParticipantReward
This is a follow up PR for #3044