diff --git a/pkg/db/postgresql/active_peers_backup.go b/pkg/db/postgresql/active_peers_backup.go index 5fa2c2e..dc325ba 100644 --- a/pkg/db/postgresql/active_peers_backup.go +++ b/pkg/db/postgresql/active_peers_backup.go @@ -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 {