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

[R4R]fix: verify node is not treated as verify node #1024

Merged
merged 1 commit into from
Jul 28, 2022

Conversation

unclezoro
Copy link
Collaborator

Description

For the fast node, verify node is a special setting that can do remove state root verification.

The development branch does have bugs in mark verify nodes. This PR aims to fix the bug.

Rationale

image
Both dialDest and n here is pointers, we shall just compare whether the ID equals.

Example

After the patch, fast node can work smoothly in full and insecure mode.

Changes

No

Copy link
Contributor

@keefel keefel left a comment

Choose a reason for hiding this comment

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

LGTM

@unclezoro unclezoro merged commit 6c46c59 into bnb-chain:develop Jul 28, 2022
This was referenced Jul 28, 2022
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.

4 participants