forked from pokt-network/pocket
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
pocket/p2p/raintree/peers_manager.go
Lines 137 to 142 in d552ec6
| // 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.
Reactions are currently unavailable