fix(db): fix getHeadBlockId abnormal return problem by xxo1shine · Pull Request #5403 · tronprotocol/java-tron

Conversation

@xxo1shine

What does this PR do?
Fix getHeadBlockId abnormal return problem, fix #5389.

Why are these changes required?

This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

Extra details

@codecov-commenter

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.90%. Comparing base (10223cc) to head (5ce3ff0).
⚠️ Report is 566 commits behind head on develop.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #5403   +/-   ##
==========================================
  Coverage      60.89%   60.90%           
+ Complexity      9231     9230    -1     
==========================================
  Files            839      839           
  Lines          50029    50027    -2     
  Branches        5574     5574           
==========================================
  Hits           30467    30467           
+ Misses         17176    17173    -3     
- Partials        2386     2387    +1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

halibobo1205

Choose a reason for hiding this comment

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

LGTM

@halibobo1205

jwrct