Skip to content

Conversation

@callebtc
Copy link
Collaborator

@callebtc callebtc commented Jan 4, 2026

Summary

Fixes a discrepancy between the peer count shown in the sticky notification and the sidebar peer list.

Changes

  • Updated PeerManager.getActivePeerIDs() and isPeerActive() to remove the redundant time-based staleness check.
  • The notification now relies solely on the peers map state, which is already managed by the periodic cleanupStalePeers job.
  • This ensures the notification count matches the sidebar list exactly, as they now use the same source of truth without differing filter logic.

@callebtc callebtc merged commit 7ee61a0 into main Jan 4, 2026
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants