Skip to content

Commit

Permalink
update active peers' backup to track identified peers
Browse files Browse the repository at this point in the history
  • Loading branch information
cortze committed Mar 15, 2023
1 parent a648e21 commit 269ad32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/db/postgresql/active_peers_backup.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (c *DBClient) getActivePeers() ([]int, error) {
id,
peer_id
FROM peer_info
WHERE deprecated='false'
WHERE deprecated = 'false' and attempted = 'true' and client_name IS NOT NULL
`,
)
if err != nil {
Expand Down

0 comments on commit 269ad32

Please sign in to comment.