Skip to content

Prevent panic in TransactionByHash for non-existent transactions

Codecov / codecov/project succeeded Jan 14, 2025 in 0s

74.61% (target 70.00%)

View this Pull Request on Codecov

74.61% (target 70.00%)

Details

Codecov Report

Attention: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 74.61%. Comparing base (d99e28b) to head (1760dc8).

Files with missing lines Patch % Lines
rpc/transaction.go 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2373      +/-   ##
==========================================
- Coverage   74.70%   74.61%   -0.09%     
==========================================
  Files         110      110              
  Lines       12021    12024       +3     
==========================================
- Hits         8980     8972       -8     
- Misses       2349     2355       +6     
- Partials      692      697       +5     

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