Skip to content

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

@github-actions

Description

@github-actions

// 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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions