Skip to content

Conversation

317787106
Copy link
Contributor

What does this PR do?
close #6336

Why are these changes required?

This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

Extra details

@kuny0707 kuny0707 moved this to In Review in java-tron Jul 1, 2025
@kuny0707 kuny0707 linked an issue Jul 1, 2025 that may be closed by this pull request
chainBaseManager.getSolidBlockId().getString());
peer.disconnect(ReasonCode.FORKED);
&& !chainBaseManager.containBlockInMainChain(msg.getSolidBlockId())) {
if (chainBaseManager.getLowestBlockNum() <= msg.getSolidBlockId().getNum()) {

Choose a reason for hiding this comment

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

Suggest add comments something like "It maybe light FullNode with part of database snapshot"

@kuny0707 kuny0707 merged commit 456b4eb into tronprotocol:release_v4.8.1 Aug 18, 2025
7 checks passed
@github-project-automation github-project-automation bot moved this from In Review to Done in java-tron Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

The light node incorrectly reports a FORKED disconnection

7 participants