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

This is only used in tests. Should we remove it? #279

Open
github-actions bot opened this issue Jan 12, 2023 · 0 comments
Open

This is only used in tests. Should we remove it? #279

github-actions bot opened this issue Jan 12, 2023 · 0 comments

Comments

@github-actions
Copy link

// DISCUSS: This is only used in tests. Should we remove it?
func (pm *peersManager) getSelfIndexInAddrBook() (int, bool) {
if len(pm.addrList) == 0 {
return -1, false
}
if pm.addrList[0] == pm.selfAddr.String() {


This issue was generated by todo-issue based on a DISCUSS comment in d552ec6.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants