Skip to content

Commit

Permalink
Include all nodes in list
Browse files Browse the repository at this point in the history
  • Loading branch information
kognise committed Sep 3, 2024
1 parent 7728a64 commit f5bc0bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libts/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ func GetState(ctx context.Context) (State, error) {

if peer.ExitNodeOption {
state.ExitNodes = append(state.ExitNodes, peer)
} else if peer.UserID == status.Self.UserID {
}

if peer.UserID == status.Self.UserID {
state.MyNodes = append(state.MyNodes, peer)
} else if peer.IsTagged() {
state.TaggedNodes = append(state.TaggedNodes, peer)
Expand Down

0 comments on commit f5bc0bb

Please sign in to comment.