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

p2p: use errors.Is for error comparison #1140

Merged
merged 1 commit into from
Oct 28, 2022

Conversation

qinglin89
Copy link
Contributor

@qinglin89 qinglin89 commented Oct 16, 2022

Description

Sync with go-ethereum:

from Go 1.13 on errors.Is is preferred for comparing errors.

Rationale

N/A

Example

N/A

Changes

N/A

@brilliant-lx brilliant-lx added the r4r ready for review label Oct 21, 2022
@brilliant-lx brilliant-lx merged commit caf9d0a into bnb-chain:develop Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
r4r ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants