Skip to content

Commit

Permalink
Fix for validation queue not passing hardware info from relays
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-toth committed Aug 1, 2024
1 parent cfa5938 commit 59100e1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/validation/validation.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ export class ValidationService {
running: relay.running,
family: relay.effective_family,
consensus_measured: relay.consensus_measured,
primary_address_hex: relay.primary_address_hex
primary_address_hex: relay.primary_address_hex,
hardware_info: relay.hardware_info
}))
.filter((relay, index, array) => relay.ator_address.length > 0)

Expand Down Expand Up @@ -261,7 +262,8 @@ export class ValidationService {
observed_bandwidth: relayDto.observed_bandwidth,
advertised_bandwidth:
relayDto.advertised_bandwidth,
family: relayDto.effective_family
family: relayDto.effective_family,
hardware_info: relayDto.hardware_info
})
.catch(
(error) => this.logger.error('Failed creating relay data model', error.stack)
Expand Down

0 comments on commit 59100e1

Please sign in to comment.