Skip to content

Commit

Permalink
indexer-common: Remove max signal check, towards deprecating max signal
Browse files Browse the repository at this point in the history
  • Loading branch information
fordN committed Sep 12, 2022
1 parent 0b6ed28 commit f753628
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/indexer-common/src/subgraphs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,7 @@ export function isDeploymentWorthAllocatingTowards(
)
} else if (
deploymentRule.minSignal &&
signalledTokens.gte(deploymentRule.minSignal) &&
deploymentRule.maxSignal
? signalledTokens.lte(deploymentRule.maxSignal)
: true
signalledTokens.gte(deploymentRule.minSignal)
) {
return new AllocationDecision(
deployment.id,
Expand Down

0 comments on commit f753628

Please sign in to comment.