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

Target to hashrate endpoint #1042

Merged
merged 3 commits into from
Feb 19, 2024
Merged

Target to hashrate endpoint #1042

merged 3 commits into from
Feb 19, 2024

Conversation

tdroxler
Copy link
Member

image

image

Right(TargetToHashrate.Result(hashrate.value))
} catch {
case error: Throwable =>
Left(ApiError.BadRequest(error.getMessage))
Copy link
Member

Choose a reason for hiding this comment

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

Let's use a more friendly error message and test it.

Copy link

codecov bot commented Feb 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (62fe9e7) 92.42% compared to head (22a1e8b) 92.37%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1042      +/-   ##
==========================================
- Coverage   92.42%   92.37%   -0.05%     
==========================================
  Files         377      377              
  Lines       18142    18153      +11     
  Branches     1898     1926      +28     
==========================================
+ Hits        16767    16769       +2     
- Misses       1375     1384       +9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

sonarcloud bot commented Feb 19, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@polarker polarker merged commit 2ff17b5 into master Feb 19, 2024
11 checks passed
@polarker polarker deleted the target-to-hashrate-endpoint branch February 19, 2024 10:50
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.

None yet

2 participants