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

Duplicate node entries being added to pool #1148

Open
Pranav0210 opened this issue Apr 15, 2023 · 0 comments
Open

Duplicate node entries being added to pool #1148

Pranav0210 opened this issue Apr 15, 2023 · 0 comments

Comments

@Pranav0210
Copy link

Pranav0210 commented Apr 15, 2023

When a new node is added to the pool of the running bcoin node repetitively, each "addnode add" command pushes the hostname to the pool.hosts.nodes[] without verifiying if it already exists in the array and duplicates are created as shown in the output below.

issue
However, on running get peerinfo, the redundant entries cannot be seen because the logic provides for checking if a peer already exists in the array.

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

No branches or pull requests

1 participant