Skip to content

Commit

Permalink
fix: abs
Browse files Browse the repository at this point in the history
  • Loading branch information
vgorkavenko committed Aug 23, 2023
1 parent 25bdadc commit 9b9bdad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/clickhouse/clickhouse.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ export class ClickhouseService implements OnModuleInit {
epoch,
epochInterval,
validatorIndexes,
`sync_percent < (${chainAvg} - ${this.config.get('SYNC_PARTICIPATION_DISTANCE_DOWN_FROM_CHAIN_AVG')})`,
`sync_percent < abs(${chainAvg} - ${this.config.get('SYNC_PARTICIPATION_DISTANCE_DOWN_FROM_CHAIN_AVG')})`,
),
)
).map((v) => ({
Expand Down

0 comments on commit 9b9bdad

Please sign in to comment.